DaemonLogSettings
public struct DaemonLogSettings
Settings for logging in the daemon
- @since 10.5
-
Size of individual daemon log files, in bytes.
Requires
Requires daemon restart to take effect.- @since 10.5
Declaration
Swift
public var fileSize: Int
-
Number of log files allowed per SDK service instance
- Must be greater than 1.
Requires
Requires daemon restart to take effect.- @since 10.5
Declaration
Swift
public var filesPerDaemon: Int
-
Total number of daemon log files to keep
- Must be greater than 1.
- @since 10.5
Declaration
Swift
public var totalFiles: Int
-
\brief Minimim logging level to allow. *
Requires
Requires daemon restart to take effect.- Defaults to
LogLevel.INFO
. - @since 10.5
Declaration
Swift
public var logLevel: LogLevel
- Defaults to
-
Declaration
Swift
public init(json: [String : Any])