Object

zio.logging

Logging

Related Doc: package logging

Permalink

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. 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. val any: ZLayer[Logging, Nothing, Logging]

    Permalink
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def console(logLevel: LogLevel = LogLevel.Info, format: LogFormat[String] = ...): ZLayer[Console with Clock, Nothing, Logging]

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

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

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

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

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

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

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

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

    Permalink
  17. 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
  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] = ...): ZLayer[Console with Clock, Throwable, Logging]

    Permalink
  19. def finalize(): Unit

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

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

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

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

    Permalink
  24. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
  27. def locallyManaged[A, R <: Logging, E, A1](fn: (LogContext) ⇒ LogContext)(zio: ZManaged[R, E, A1]): ZManaged[Logging with R, E, A1]

    Permalink
  28. def locallyZStream[A, R <: Logging, E, A1](fn: (LogContext) ⇒ LogContext)(stream: ZStream[R, E, A1]): ZStream[Logging with R, E, A1]

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

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

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

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

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

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

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

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

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

    Permalink
  38. def toString(): String

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

    Permalink
  40. final def wait(): Unit

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

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

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

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

    Permalink

    modify initial context

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

    Permalink

    Adds root logger name

Inherited from AnyRef

Inherited from Any

Ungrouped