Class

zio.logging.Logger

LoggerWithFormat

Related Doc: package Logger

Permalink

final case class LoggerWithFormat[R, A](contextRef: FiberRef[LogContext], appender: Service[A]) extends Logger[A] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggerWithFormat
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Logger
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LoggerWithFormat(contextRef: FiberRef[LogContext], appender: Service[A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val appender: Service[A]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val contextRef: FiberRef[LogContext]

    Permalink
  8. final def contramap[A1](f: (A1) ⇒ A): Logger[A1]

    Permalink

    Produces a new logger by adapting a different input type to the input type of this logger.

    Produces a new logger by adapting a different input type to the input type of this logger.

    Definition Classes
    Logger
  9. def debug(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the debug level.

    Logs the specified element at the debug level.

    Definition Classes
    Logger
  10. def debugM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

    Permalink

    Evaluates the specified element based on the LogLevel set and logs at the debug level

    Evaluates the specified element based on the LogLevel set and logs at the debug level

    Definition Classes
    Logger
  11. def derive(f: (LogContext) ⇒ LogContext): Logger[A]

    Permalink

    Derives a new logger from this one, by applying the specified decorator to the logger context.

    Derives a new logger from this one, by applying the specified decorator to the logger context.

    Definition Classes
    Logger
  12. def deriveM[R](f: (LogContext) ⇒ ZIO[R, Nothing, LogContext]): ZIO[R, Nothing, Logger[A]]

    Permalink

    Derives a new logger from this one, by applying the specified decorator to the logger context.

    Derives a new logger from this one, by applying the specified decorator to the logger context.

    Definition Classes
    Logger
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def error(line: ⇒ A, cause: Cause[Any]): UIO[Unit]

    Permalink

    Logs the specified element at the error level with cause.

    Logs the specified element at the error level with cause.

    Definition Classes
    Logger
  15. def error(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the error level.

    Logs the specified element at the error level.

    Definition Classes
    Logger
  16. def errorM[R, E](line: ZIO[R, E, A], cause: Cause[Any]): ZIO[R, E, Unit]

    Permalink

    Evaluates the specified element based on the LogLevel set and logs at the error level

    Evaluates the specified element based on the LogLevel set and logs at the error level

    Definition Classes
    Logger
  17. def errorM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

    Permalink

    Evaluates the specified element based on the LogLevel set and logs at the error level

    Evaluates the specified element based on the LogLevel set and logs at the error level

    Definition Classes
    Logger
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def info(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the info level

    Logs the specified element at the info level

    Definition Classes
    Logger
  21. def infoM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

    Permalink

    Evaluates the specified element based on the LogLevel set and logs at the info level

    Evaluates the specified element based on the LogLevel set and logs at the info level

    Definition Classes
    Logger
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def locally[R1, E, A1](f: (LogContext) ⇒ LogContext)(zio: ZIO[R1, E, A1]): ZIO[R1, E, A1]

    Permalink

    Modifies the log context in the scope of the specified effect.

    Modifies the log context in the scope of the specified effect.

    Definition Classes
    LoggerWithFormatLogger
  24. final def locallyAnnotate[B, R, E, A1](annotation: LogAnnotation[B], value: B)(zio: ZIO[R, E, A1]): ZIO[R, E, A1]

    Permalink

    Modifies the annotate in the scope of the specified effect.

    Modifies the annotate in the scope of the specified effect.

    Definition Classes
    Logger
  25. def locallyM[R1, E, A1](f: (LogContext) ⇒ URIO[R1, LogContext])(zio: ZIO[R1, E, A1]): ZIO[R1, E, A1]

    Permalink

    Modifies the log context with effect in the scope of the specified effect.

    Modifies the log context with effect in the scope of the specified effect.

    Definition Classes
    Logger
  26. def locallyManaged[R1, E, A1](f: (LogContext) ⇒ LogContext)(managed: ZManaged[R1, E, A1]): ZManaged[R1, E, A1]

    Permalink

    Modify log context in scope of Managed operation.

    Modify log context in scope of Managed operation.

    Definition Classes
    Logger
  27. def locallyZStream[R1, E, A1](f: (LogContext) ⇒ LogContext)(stream: ZStream[R1, E, A1]): ZStream[R1, E, A1]

    Permalink

    Modify log context in scope of ZStream.

    Modify log context in scope of ZStream.

    Definition Classes
    Logger
  28. def log(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element using an inherited log level.

    Logs the specified element using an inherited log level.

    Definition Classes
    LoggerWithFormatLogger
  29. def log(level: LogLevel)(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the specified level.

    Logs the specified element at the specified level. Implementations may override this for greater efficiency.

    Definition Classes
    Logger
  30. def logContext: UIO[LogContext]

    Permalink

    Retrieves the log context.

    Retrieves the log context.

    Definition Classes
    LoggerWithFormatLogger
  31. def named(name: String): Logger[A]

    Permalink

    Produces a named logger.

    Produces a named logger.

    Definition Classes
    Logger
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def throwable(line: ⇒ A, t: Throwable): UIO[Unit]

    Permalink

    Logs the specified element at the error level with exception.

    Logs the specified element at the error level with exception.

    Definition Classes
    Logger
  37. def trace(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the trace level.

    Logs the specified element at the trace level.

    Definition Classes
    Logger
  38. def traceM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

    Permalink

    Evaluates the specified element based on the LogLevel set and logs at the trace level

    Evaluates the specified element based on the LogLevel set and logs at the trace level

    Definition Classes
    Logger
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def warn(line: ⇒ A, cause: Cause[Any]): UIO[Unit]

    Permalink

    Logs the specified element at the warn level with cause.

    Logs the specified element at the warn level with cause.

    Definition Classes
    Logger
  43. def warn(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the warn level.

    Logs the specified element at the warn level.

    Definition Classes
    Logger
  44. def warnM[R, E](line: ZIO[R, E, A], cause: Cause[Any]): ZIO[R, E, Unit]

    Permalink

    Evaluates the specified element based on the LogLevel set and logs at the warn level with cause

    Evaluates the specified element based on the LogLevel set and logs at the warn level with cause

    Definition Classes
    Logger
  45. def warnM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

    Permalink

    Evaluates the specified element based on the LogLevel set and logs at the warn level

    Evaluates the specified element based on the LogLevel set and logs at the warn level

    Definition Classes
    Logger

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logger[A]

Inherited from AnyRef

Inherited from Any

Ungrouped