Object

zio.logging

Logging

Related Doc: package logging

Permalink

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

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

    Permalink

    Add timestamp annotation to every message

  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. def console(logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Nothing, Logging]

    Permalink
  8. def consoleErr(logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Nothing, Logging]

    Permalink
  9. val context: URIO[Logging, LogContext]

    Permalink
  10. def debug(line: ⇒ String): ZIO[Logging, Nothing, Unit]

    Permalink
  11. def derive(f: (LogContext) ⇒ LogContext): ZIO[Logging, Nothing, Logger[String]]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  15. def error(line: ⇒ String): ZIO[Logging, Nothing, Unit]

    Permalink
  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]

    Permalink
  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]

    Permalink
  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 hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. val ignore: Layer[Nothing, Logging]

    Permalink
  22. def info(line: ⇒ String): ZIO[Logging, Nothing, Unit]

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    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]

    Permalink
  25. def locallyM[A, R <: Logging, E, A1](fn: (LogContext) ⇒ URIO[R, LogContext])(zio: ZIO[R, E, A1]): ZIO[Logging with R, E, A1]

    Permalink
  26. def log(level: LogLevel)(line: ⇒ String): ZIO[Logging, Nothing, Unit]

    Permalink
  27. def make: URLayer[Appender[String], Logging]

    Permalink
  28. def modifyLogger(fn: (Logger[String]) ⇒ Logger[String]): ZLayer[Logging, Nothing, Logging]

    Permalink
  29. def modifyLoggerM[R, E](fn: (Logger[String]) ⇒ ZIO[R, E, Logger[String]]): ZLayer[Logging with R, E, Logging]

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def throwable(line: ⇒ String, t: Throwable): ZIO[Logging, Nothing, Unit]

    Permalink
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def trace(line: ⇒ String): ZIO[Logging, Nothing, Unit]

    Permalink
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def warn(line: ⇒ String): ZIO[Logging, Nothing, Unit]

    Permalink
  41. def withContext(context: LogContext): ZLayer[Logging, Nothing, Logging]

    Permalink

    modify initial context

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

    Permalink

    Adds root logger name

Inherited from AnyRef

Inherited from Any

Ungrouped