LogIOStrict

logstage.strict.LogIOStrict
See theLogIOStrict companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[F[_] : LogIOStrict]: LogIOStrict[F]
def fromLogger[F[_] : SyncSafe1](logger: AbstractLoggerF[F]): LogIOStrict[F]
def fromLogger[F[_] : SyncSafe1](logger: AbstractLogger): LogIOStrict[F]
def log[F[_]](implicit l: LogIOStrict[F]): l.type

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