ContextualLoggerTarget
public protocol ContextualLoggerTarget
Implementations of this protocol receive the contextual logging requests and must
filter and route them to the LoggerOutput
.
-
Called for every log event, without any filtering.
Declaration
Swift
func log(level: LoggerLevel, context: LogEventContext, content: @escaping @autoclosure () -> String)