Packages

o

zio.logging

Logging

object Logging

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

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

    modify initial context

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

    Adds root logger name

Inherited from AnyRef

Inherited from Any

Ungrouped