Package

com.github.mlangc.slf4zio

api

Permalink

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. All

Type Members

  1. case class LogMessage(text: String, level: Level, suppressed: Boolean = false) extends Product with Serializable

    Permalink
  2. implicit final class LogMessageInterpolator extends AnyVal

    Permalink
  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

    Permalink
  4. type Logging = Has[Service[Any]]

    Permalink
  5. trait LoggingSupport extends AnyRef

    Permalink
    Annotations
    @silent( "inferred to be `Any`" )
  6. abstract class MDZIO extends AnyRef

    Permalink

    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

    Permalink
  8. implicit final class ZioLoggingOps[R, E, A] extends AnyRef

    Permalink

Value Members

  1. object LogMessage extends Serializable

    Permalink
  2. object LogSpec extends Serializable

    Permalink
  3. object Logging extends Serializable

    Permalink
  4. object MDZIO extends MDZIO

    Permalink

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

  5. def getLogger(name: String): Logger

    Permalink
  6. def getLogger(clazz: Class[_]): Logger

    Permalink
  7. def getLogger[T](implicit classTag: ClassTag[T]): Logger

    Permalink
  8. val logging: Service[Logging]

    Permalink
  9. def makeLogger[T](clazz: Class[_]): UIO[Logger]

    Permalink
  10. def makeLogger[T](implicit classTag: ClassTag[T]): UIO[Logger]

    Permalink
  11. def makeLogger(name: String): UIO[Logger]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped