Packages

o

zio.logging

LogAppender

object LogAppender extends PlatformSpecificLogAppenderModifiers

Represents log writer function that turns A into String and put in console or save to file.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LogAppender
  2. PlatformSpecificLogAppenderModifiers
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class AppenderLayerOps[A, RIn, E] extends AnyRef
  2. trait Service[A] extends AnyRef

Value Members

  1. def async[A](logEntryBufferSize: Int)(implicit tag: zio.Tag[Service[A]]): ZLayer[Appender[A], Nothing, Appender[A]]
  2. def console[A](logLevel: LogLevel, format: LogFormat[A])(implicit tag: zio.Tag[Service[A]]): ZLayer[Console, Nothing, Appender[A]]
  3. def consoleErr[A](logLevel: LogLevel, format: LogFormat[A])(implicit tag: zio.Tag[Service[A]]): ZLayer[Console, Nothing, Appender[A]]
  4. def file[A](destination: Path, charset: Charset, autoFlushBatchSize: Int, bufferedIOSize: Option[Int], format0: LogFormat[A])(implicit tag: zio.Tag[Service[A]]): ZLayer[Any, Throwable, Appender[A]]
  5. def ignore[A](implicit tag: zio.Tag[Service[A]]): ULayer[Appender[A]]
  6. def make[R, A](format0: LogFormat[A], write0: (LogContext, => String) => URIO[R, Unit])(implicit tag: zio.Tag[Service[A]]): ZLayer[R, Nothing, Appender[A]]
  7. def withLoggerNameFromLine[A <: AnyRef](implicit tag: zio.Tag[Service[A]]): ZLayer[Appender[A], Nothing, Appender[A]]