LogConfiguration
public class LogConfiguration : NSObject
Specifies log configuration details [LoggerOutput]
and LoggingLevel
.
For more information on log configurator see LogConfigurator
.
Important
This is a Public Preview API. It may be changed or removed at any time.Creates an instance of LogConfiguration
.
Declaration
Swift
public init(outputs: [LoggerOutput], logLevel: LoggingLevel)
Parameters
outputs
|
A list of custom log outputs like file or cloud. |
logLevel
|
Desired log level as defined by |
Specifies desired log level and describes the purpose (e.g., error log) and/or importance (e.g., critical log) of the logs. The levels facilitate log filtering.
For more information on log configurator see LogConfigurator
.
For more information on log configuration see LogConfiguration
.
Declaration
Swift
public enum LoggingLevel : CustomReflectable
extension LogConfiguration.LoggingLevel: CustomStringConvertible