Logger

zio.http.logging.Logger
See theLogger companion object
final case class Logger(transports: List[LoggerTransport]) extends LoggerMacroExtensions

This is the base class for all logging operations. Logger is a collection of LoggerTransports. Internally whenever a message needs to be logged, it is broadcasted to all the available transports. The transports can internally decide what to do with the message and discard it if the message or the level is not relevant to the transport.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

Combines to loggers into one

Combines to loggers into one

Attributes

Combines to loggers into one

Combines to loggers into one

Attributes

Modifies the transports to read the log level from the passed environment variable.

Modifies the transports to read the log level from the passed environment variable.

Attributes

Modifies the transports to read the log level from the set system property.

Modifies the transports to read the log level from the set system property.

Attributes

Dispatches the parameters to all the transports. Internally invoked by the macro.

Dispatches the parameters to all the transports. Internally invoked by the macro.

Attributes

Dispatches the parameters to all the transports. Internally invoked by the macro.

Dispatches the parameters to all the transports. Internally invoked by the macro.

Attributes

Creates a new logger that will log messages that start with the given prefix.

Creates a new logger that will log messages that start with the given prefix.

Attributes

Creates a new logger that only log messages that are accepted by the provided filter.

Creates a new logger that only log messages that are accepted by the provided filter.

Attributes

Modifies all the transports to support the given log format

Modifies all the transports to support the given log format

Attributes

Modifies the level for each transport. Messages that don't meet that level will not be logged by any of the transports

Modifies the level for each transport. Messages that don't meet that level will not be logged by any of the transports

Attributes

Creates a new Logger with the provided tags

Creates a new Logger with the provided tags

Attributes

Creates a new Logger with the provided tags

Creates a new Logger with the provided tags

Attributes

def withTransport(transport: LoggerTransport): Logger

Adds a new transport to the logger

Adds a new transport to the logger

Attributes

Inherited methods

inline def debug(inline msg: String): Unit

Attributes

Inherited from:
LoggerMacroExtensions
inline def error(inline msg: String, throwable: Throwable): Unit

Attributes

Inherited from:
LoggerMacroExtensions
inline def error(inline msg: String): Unit

Attributes

Inherited from:
LoggerMacroExtensions
inline def info(inline msg: String): Unit

Attributes

Inherited from:
LoggerMacroExtensions

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
inline def trace(inline msg: String): Unit

Attributes

Inherited from:
LoggerMacroExtensions
inline def warn(inline msg: String): Unit

Attributes

Inherited from:
LoggerMacroExtensions