Trait

zio.logging

Logger

Related Doc: package logging

Permalink

trait Logger[-A] extends AnyRef

Self Type
Logger[A]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract 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.

  2. abstract def log(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element using an inherited log level.

  3. abstract def logContext: UIO[LogContext]

    Permalink

    Retrieves the log context.

Concrete 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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. 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.

  7. def debug(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the debug level.

  8. def derive(f: (LogContext) ⇒ LogContext): Logger[A]

    Permalink

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

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def error(line: ⇒ A, cause: Cause[Any]): ZIO[Any, Nothing, Unit]

    Permalink

    Logs the specified element at the error level with cause.

  12. def error(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the error level.

  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

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

    Permalink

    Logs the specified element at the info level

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. 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.

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

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

  21. def named(name: String): Logger[A]

    Permalink

    Produces a named logger.

  22. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def throwable(line: ⇒ A, t: Throwable): ZIO[Any, Nothing, Unit]

    Permalink

    Logs the specified element at the error level with exception.

  27. def toString(): String

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

    Permalink

    Logs the specified element at the trace level.

  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def warn(line: ⇒ A): UIO[Unit]

    Permalink

    Logs the specified element at the warn level.

Inherited from AnyRef

Inherited from Any

Ungrouped