trait Logger[-A] extends AnyRef

Self Type
Logger[A]
Linear Supertypes
AnyRef, Any
Known Subclasses
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]

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

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

    Logs the specified element using an inherited log level.

  3. abstract def logContext: UIO[LogContext]

    Retrieves the log context.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def contramap[A1](f: (A1) ⇒ A): Logger[A1]

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

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

    Logs the specified element at the debug level.

  8. def debugM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

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

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

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

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

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

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def error(line: ⇒ A, cause: Cause[Any]): UIO[Unit]

    Logs the specified element at the error level with cause.

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

    Logs the specified element at the error level.

  15. def errorM[R, E](line: ZIO[R, E, A], cause: Cause[Any]): ZIO[R, E, Unit]

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

  16. def errorM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

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

  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def info(line: ⇒ A): UIO[Unit]

    Logs the specified element at the info level

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

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

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def locallyAnnotate[B, R, E, A1](annotation: LogAnnotation[B], value: B)(zio: ZIO[R, E, A1]): ZIO[R, E, A1]

    Modifies the annotate in the scope of the specified effect.

  24. def locallyM[R1, E, A1](f: (LogContext) ⇒ URIO[R1, LogContext])(zio: ZIO[R1, E, A1]): ZIO[R1, E, A1]

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

  25. def log(level: LogLevel)(line: ⇒ A): UIO[Unit]

    Logs the specified element at the specified level.

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

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

    Produces a named logger.

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def throwable(line: ⇒ A, t: Throwable): UIO[Unit]

    Logs the specified element at the error level with exception.

  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def trace(line: ⇒ A): UIO[Unit]

    Logs the specified element at the trace level.

  34. def traceM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

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

  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. def warn(line: ⇒ A): UIO[Unit]

    Logs the specified element at the warn level.

  39. def warnM[R, E](line: ZIO[R, E, A]): ZIO[R, E, Unit]

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

Inherited from AnyRef

Inherited from Any

Ungrouped