Logger
A Logger
instance is a handle to some Mongo.LogTarget
with a thread-safe interface for dynamically configuring the logging level. This enables logging targets to not have to worry about filtering events.
final class Logger
Other members in extension
Protocols
Types
Citizens in MongoLogging
Conformances
Type members
Instance members
var level: Mongo.LogSeverity
func configure(level: Mongo.LogSeverity
) Configures the logging level. A
fatal
level disables logging entirely.func yield(event: some Mongo.LogEvent
)