VerboseLogEventFormatter
public class VerboseLogEventFormatter : LogEventFormattingStrategy
The default verbose formatter for log events.
Includes an optional prefix for each line, and the time in HH:mm:ss.SSS format.
-
Undocumented
Declaration
Swift
public let dateFormatter: DateFormatter? -
Undocumented
Declaration
Swift
public let prefix: String -
Initialise the logger with a prefix to add to each line, and a custom date format
Declaration
Swift
public init(prefix: String? = nil, dateFormat: String? = "HH:mm:ss.SSS") -
Undocumented
Declaration
Swift
public func format(_ event: LogEvent) -> String?
View on GitHub
VerboseLogEventFormatter Class Reference