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.

Lifecycle

  • 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 LoggingLevel.

Public

  • 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.

    See more

    Declaration

    Swift

    public enum LoggingLevel : CustomReflectable
    extension LogConfiguration.LoggingLevel: CustomStringConvertible