o

zio.logging

Logging

object Logging

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

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. def addTimestamp[A](self: Logger[A]): URIO[Clock, Logger[A]]

    Add timestamp annotation to every message

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def console(logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Nothing, Logging]
  8. def consoleErr(logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Nothing, Logging]
  9. val context: URIO[Logging, LogContext]
  10. def debug(line: ⇒ String): ZIO[Logging, Nothing, Unit]
  11. def derive(f: (LogContext) ⇒ LogContext): ZIO[Logging, Nothing, Logger[String]]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def error(line: ⇒ String, cause: Cause[Any]): ZIO[Logging, Nothing, Unit]
  15. def error(line: ⇒ String): ZIO[Logging, Nothing, Unit]
  16. def file(destination: Path, charset: Charset = StandardCharsets.UTF_8, autoFlushBatchSize: Int = 1, bufferedIOSize: Option[Int] = None, logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Throwable, Logging]
  17. def fileAsync(destination: Path, charset: Charset = StandardCharsets.UTF_8, autoFlushBatchSize: Int = 32, bufferedIOSize: Option[Int] = Some(8192), logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Throwable, Logging]
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. val ignore: Layer[Nothing, Logging]
  22. def info(line: ⇒ String): ZIO[Logging, Nothing, Unit]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def locally[A, R <: Logging, E, A1](fn: (LogContext) ⇒ LogContext)(zio: ZIO[R, E, A1]): ZIO[Logging with R, E, A1]
  25. def locallyM[A, R <: Logging, E, A1](fn: (LogContext) ⇒ URIO[R, LogContext])(zio: ZIO[R, E, A1]): ZIO[Logging with R, E, A1]
  26. def log(level: LogLevel)(line: ⇒ String): ZIO[Logging, Nothing, Unit]
  27. def make: URLayer[Appender[String], Logging]
  28. def modifyLogger(fn: (Logger[String]) ⇒ Logger[String]): ZLayer[Logging, Nothing, Logging]
  29. def modifyLoggerM[R, E](fn: (Logger[String]) ⇒ ZIO[R, E, Logger[String]]): ZLayer[Logging with R, E, Logging]
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def throwable(line: ⇒ String, t: Throwable): ZIO[Logging, Nothing, Unit]
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def trace(line: ⇒ String): ZIO[Logging, Nothing, Unit]
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. def warn(line: ⇒ String): ZIO[Logging, Nothing, Unit]
  41. def withContext(context: LogContext): ZLayer[Logging, Nothing, Logging]

    modify initial context

  42. def withRootLoggerName(name: String): ZLayer[Logging, Nothing, Logging]

    Adds root logger name

Inherited from AnyRef

Inherited from Any

Ungrouped