LogHandlerFile
public class LogHandlerFile : LogHandler
Handler logging to a file.
-
Create log handler.
Declaration
Swift
public init()
-
Create log handler.
Declaration
Swift
public init(logLevel: Logger.Level)
-
Declaration
Swift
public func publish(record: Logger.LogRecord)
-
Required log level for records to be published to this handler.
Declaration
Swift
public var logLevel: Logger.Level
-
Date time formatter.
Declaration
Swift
public var dateFormatter: DateFormatter
-
Undocumented
Declaration
Swift
public static func getLogFiles() -> [Data]
-
Undocumented
Declaration
Swift
public static func getLogFile(day: Date) -> Data?
-
Undocumented
Declaration
Swift
public static func removeAllLogs()
-
Undocumented
Declaration
Swift
public static func removeLog(day: Date)