Log
public enum Log
Class used for logging
-
Log with DEBUG level
Declaration
Swift
public static func debug(_ closure: @autoclosure () -> String, functionName: String = #function, file: String = #file, line: UInt = #line)
Parameters
closure
fake closure to caprute loging details
functionName
functionName
file
file
line
line
-
Log with ERROR level
Declaration
Swift
public static func error(_ closure: @autoclosure () -> String, functionName: String = #function, file: String = #file, line: UInt = #line)
Parameters
closure
fake closure to caprute loging details
functionName
functionName
file
file
line
line