FileTargetConfig
public struct FileTargetConfig
Undocumented
-
Undocumented
Declaration
Swift
public static let defaultMaxFileSizeInBytes: UInt64
-
Undocumented
Declaration
Swift
public static let defaultDateTimeFormat: String
-
Log file extension. Defaults to
log
.Declaration
Swift
public let fileExtension: String
-
Log file name. Defaults to
file
.Declaration
Swift
public let fileName: String
-
Maximum number of archived files to keep. Defaults to 1.
Declaration
Swift
public let maxArchivedFilesCount: UInt16
-
Determines minimum time until log file should be archived.
Declaration
Swift
public let archiveFrequency: TimeSpan
-
Determines minimum file size until log file should be archived.
Declaration
Swift
public let maxFileSizeInBytes: UInt64
-
Minimum log levlel to be logged.
Declaration
Swift
public let level: LogLevel
-
Determines logging style used by the target.
Declaration
Swift
public let style: Style
-
Format to be used for log line timestamps.
Declaration
Swift
public let dateTimeFormat: String
-
Optional header to be addead as the first content to newly create log file.
Declaration
Swift
public let header: String?
-
init(fileName:
fileExtension: maxArchivedFilesCount: archiveFrequency: maxFileSizeInBytes: dateTimeFormat: level: style: header: ) Undocumented
-
Undocumented
Declaration
Swift
public var fullFileName: String { get }
-
Undocumented
Declaration
Swift
public var archiveFileName: String { get }