Log
public class Log
Log allows to configure console and file logger or to set a custom logger.
-
Console logger writing log messages to the system console.
Declaration
Swift
public let console: ConsoleLogger
-
File logger writing log messages to files.
Declaration
Swift
public let file: FileLogger
-
For setting a custom logger. Changing the log level of the assigned custom logger will require the custom logger to be reassigned so that the change can be affected.
Declaration
Swift
public var custom: Logger? { get set }