public final class LogReceptacle
LogReceptacles provide the low-level interface for accepting log messages.
Although you could use a
LogReceptacle directly to perform all logging
Log implementation provides a higher-level interface that’s
more convenient to use within your code.
Constructs a new
LogReceptaclethat will use the specified configurations.
LogEntryis passed to the receiver’s
log()function, logging will proceed using all
LogConfigurations having a
minimumSeveritythat’s less or as severe as the passed-in
If no matching
LogConfigurations are found, then the log request is silently ignored.
public init(configuration: [LogConfiguration])
An array of
LogConfigurationinstances that specify how the logging system will behave when messages are logged.