object LogIO extends LowPriorityLogIOInstances
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogIO
- LowPriorityLogIOInstances
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- implicit final class LogIO2Syntax[F[+_, +_]] extends AnyVal
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[F[_]](implicit l: LogIO[F]): l.type
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit def covarianceConversion[G[_], F[_]](log: LogIO[F])(implicit ev: <:<[F[AnyRef], G[AnyRef]]): LogIO[G]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromLogger[F[_]](logger: AbstractLoggerF[F])(implicit arg0: SyncSafe1[F]): LogIO[F]
- def fromLogger[F[_]](logger: AbstractLogger)(implicit arg0: SyncSafe1[F]): LogIO[F]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def limitedCovariance2[F[+_, _], E](implicit log: LogIO2[F]): LogIO[[β$0$]F[E, β$0$]]
Emulate covariance.
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- Definition Classes
- LowPriorityLogIOInstances
- See also
https://github.com/scala/bug/issues/11427
- implicit def limitedCovariance3[F[-_, +_, _], R, E](implicit log: LogIO3[F]): LogIO[[γ$1$]F[R, E, γ$1$]]
- Definition Classes
- LowPriorityLogIOInstances
- def log[F[_]](implicit l: LogIO[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.LogIO.log def fn[F[_]: LogIO]: F[Unit] = { log.info(s"I'm logging with ${log}stage!") }
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()