Log
public struct Log
Namespace for log settings
-
Logging function. Can be nil. Default is
print("\(logLevel): \(message)")
Declaration
Swift
public static var fun: DILogFunc? = { print("\($0): \($1)") }
-
Minimum level of logging. Default is
warning
Declaration
Swift
public static var level: DILogLevel = .warning
-
Tabulation for logging. It is necessary to better understand the information log. Default is
Declaration
Swift
public static var tab: String = String(UnicodeScalar(UInt8(9/*ascii code for tab*/)))