LogHelper
@objc
public class LogHelper : NSObject
The helper class for log information to console and log file.
-
Declaration
Swift
@objc public static func logDir() -> String
-
Log Verbose level message in log.
Declaration
Swift
@objc public static func logVerbose(_ log: String, function: String = #function, filePath: String = #file, fileLine: Int = #line)
-
Log Info level message in log.
Declaration
Swift
@objc public static func logInfo(_ log: String, function: String = #function, filePath: String = #file, fileLine: Int = #line)
-
Log Debug level message in log.
Declaration
Swift
@objc public static func logDebug(_ log: String, function: String = #function, filePath: String = #file, fileLine: Int = #line)
-
Log Warning level message in log.
Declaration
Swift
@objc public static func logWarning(_ log: String, function: String = #function, filePath: String = #file, fileLine: Int = #line)
-
Log Error level message in log.
Declaration
Swift
@objc public static func logError(_ log: String, function: String = #function, filePath: String = #file, fileLine: Int = #line)