log

object log
class Object
trait Matchable
class Any

Value members

Methods

def apply(level: LogLevel)(line: => String): ZIO[Logging, Nothing, Unit]
def debug(line: => String): ZIO[Logging, Nothing, Unit]
def derive(f: LogContext => LogContext): ZIO[Logging, Nothing, Logger[String]]
def error(line: => String): ZIO[Logging, Nothing, Unit]
def error(line: => String, cause: Cause[Any]): ZIO[Logging, Nothing, Unit]
def info(line: => String): ZIO[Logging, Nothing, Unit]
def locally[R <: Logging, E, A1](fn: LogContext => LogContext)(zio: ZIO[R, E, A1]): ZIO[Logging & R, E, A1]
def locallyM[R <: Logging, E, A1](fn: LogContext => URIO[R, LogContext])(zio: ZIO[R, E, A1]): ZIO[Logging & R, E, A1]
def throwable(line: => String, t: Throwable): ZIO[Logging, Nothing, Unit]
def trace(line: => String): ZIO[Logging, Nothing, Unit]
def warn(line: => String): ZIO[Logging, Nothing, Unit]

Fields