ConsoleLogSink
public struct ConsoleLogSink
A log sink that writes log messages to the console.
-
The minimum log level of the log messages to be logged.
Declaration
Swift
public let level: LogLevel
-
The set of log domains of the log messages to be logged.
Declaration
Swift
public let domains: LogDomains
-
Initializes a ConsoleLogSink with the specified log level and optional log domains.
Declaration
Swift
public init(level: LogLevel, domains: LogDomains = .all)