public protocol LogConfiguration
Defines an interface for specifying the configuration of the logging system.
LogFilters to use when deciding whether a given
LogEntryshould be passed along to the receiver’s
recorders. If any filter returns
LogEntrywill be silently ignored when being processed for this
var filters: [LogFilter]
A flag indicating whether synchronous mode will be used when passing
LogEntryinstances to the receiver’s
recorders. Synchronous mode is helpful while debugging, as it ensures that logs are always up-to-date when debug breakpoints are hit. However, synchronous mode can have a negative influence on performance and is therefore not recommended for use in production code.
var synchronousMode: Bool
For organizational purposes, a given
LogConfigurationmay in turn contain one or more additional
LogConfigurations. Each contained
LogConfigurationis an entirely separate entity; children do not inherit any state from parent containers.
A default implementation returning
nil, indicating that the receiver contains no
var configurations: [LogConfiguration]?