logstage.strict.LogIOStrict
See theLogIOStrict companion trait
object LogIOStrict extends LowPriorityLogIOStrictInstances
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
LogIOStrict.type
Members list
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.LogIOStrict.log
def fn[F[_]: LogIOStrict]: F[Unit] = {
log.info(s"I'm logging with ${log}stage!")
}
Attributes
Implicits
Implicits
implicit def covarianceConversion[G[_], F[_]](log: LogIOStrict[F])(implicit ev: F[AnyRef] <:< G[AnyRef]): LogIOStrict[G]
Inherited implicits
implicit def limitedCovariance2[F[_, _], E](implicit log: LogIO2Strict[F]): LogIOStrict[[_] =>> F[E, _$12]]
Emulate covariance. We're forced to employ these because we can't make LogIOStrict covariant, because covariant implicits are broken (see scalac bug)
Emulate covariance. We're forced to employ these because we can't make LogIOStrict covariant, because covariant implicits are broken (see scalac bug)
Safe because F
appears only in a covariant position
Attributes
- See also
- Inherited from:
- LowPriorityLogIOStrictInstances
implicit def limitedCovariance3[F[_, _, _], R, E](implicit log: LogIO3Strict[F]): LogIOStrict[[_] =>> F[R, E, _$17]]
Attributes
- Inherited from:
- LowPriorityLogIOStrictInstances
In this article