logstage.LogIO
See theLogIO companion trait
object LogIO extends LowPriorityLogIOInstances
Attributes
Members list
Type members
Classlikes
final implicit class LogIO2Syntax[F[_, _]](log: LogIO2[F]) extends AnyVal
Attributes
- Supertypes
-
class AnyValtrait Matchableclass Any
Value members
Concrete methods
Lets you refer to an implicit logger's methods without naming a variable
Lets you refer to an implicit logger's methods without naming a variable
import logstage.LogIO.log
def fn[F[_]: LogIO]: F[Unit] = {
log.info(s"I'm logging with ${log}stage!")
}
Attributes
Implicits
Implicits
implicit def covarianceConversion[G[_], F[_]](log: LogIO[F])(implicit ev: F[AnyRef] <:< G[AnyRef]): LogIO[G]
Inherited implicits
Emulate covariance. We're forced to employ these because we can't make LogIO covariant, because covariant implicits are broken (see scalac bug)
Emulate covariance. We're forced to employ these because we can't make LogIO covariant, because covariant implicits are broken (see scalac bug)
Safe because F
appears only in a covariant position
Attributes
- See also
- Inherited from:
- LowPriorityLogIOInstances
implicit def limitedCovariance3[F[_, _, _], R, E](implicit log: LogIO3[F]): LogIO[[_] =>> F[R, E, _$18]]
Attributes
- Inherited from:
- LowPriorityLogIOInstances
In this article