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 mssage and discard it if the message or the level is not relevant to the transport.
- Companion:
- object
Value members
Concrete methods
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.
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.
Dispatches the parameters to all the transports. Internally invoked by the macro.
Dispatches the parameters to all the transports. Internally invoked by the macro.
Dispatches the parameters to all the transports. Internally invoked by the macro.
Dispatches the parameters to all the transports. Internally invoked by the macro.
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.
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.
Modifies all the transports to support the given log format
Modifies all the transports to support the given log format
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