ConsoleLogDestination
public class ConsoleLogDestination : LogDestination
Defines logging into a console
-
Logs a message into the console
Declaration
Swift
public func write(_ message: StaticString, level: LogLevel, category: LogCategory, _ args: [CVarArg])
Parameters
message
Message to be written into the console log
level
Log level defining type of log
category
Log category defining type of data logged
args
Log arguments