Packages

package api

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. api
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class LogMessage(text: String, level: Level, suppressed: Boolean = false) extends Product with Serializable
  2. implicit final class LogMessageInterpolator extends AnyVal
  3. case class LogSpec[-E, -A](onError: List[(Duration, E) => LogMessage] = Nil, onSucceed: List[(Duration, A) => LogMessage] = Nil, onTermination: List[(Duration, Cause[Nothing]) => LogMessage] = Nil) extends Product with Serializable
  4. type Logging = Has[Service[Any]]
  5. trait LoggingSupport extends AnyRef
    Annotations
    @silent("inferred to be `Any`")
  6. abstract class MDZIO extends AnyRef

    Convenience APIs for interacting with the MDC context.

    Convenience APIs for interacting with the MDC context.

    Important

    Make sure that you use a fiber aware MDC implementation, as provided for example by zio-interop-log4j2. Using the convenience wrappers found here won't make the underlying MDC context implementation aware of ZIO fibers.

    Annotations
    @silent("JavaConverters")
  7. implicit final class Slf4jLoggerOps extends AnyRef
  8. implicit final class ZioLoggingOps[R, E, A] extends AnyRef

Value Members

  1. def getLogger(name: String): Logger
  2. def getLogger(clazz: Class[_]): Logger
  3. def getLogger[T](implicit classTag: ClassTag[T]): Logger
  4. val logging: Service[Logging]
  5. def makeLogger[T](clazz: Class[_]): UIO[Logger]
  6. def makeLogger[T](implicit classTag: ClassTag[T]): UIO[Logger]
  7. def makeLogger(name: String): UIO[Logger]
  8. object LogMessage extends Serializable
  9. object LogSpec extends Serializable
  10. object Logging
  11. object MDZIO extends MDZIO

    See also Logging.Service.mdzio if you want all logging related calls go through the service.

Inherited from AnyRef

Inherited from Any

Ungrouped