ConsoleLogger
open class ConsoleLogger : SwiftQueueLogger
Class to compute the log and print to the console
-
Define minimum level to log. By default, it will log everything
Declaration
Swift
public init(min: LogLevel = .verbose)
-
Check for log level and create the output message
Declaration
Swift
public final func log(_ level: LogLevel, jobId: @autoclosure () -> String, message: @autoclosure () -> String)
-
Print with default
print()
function. Can be override to changed the outputDeclaration
Swift
open func printComputed(output: String)