A Log::Builder
creates Log
instances for a given source. It allows you to bind sources and patterns to a given backend. Already created Log
will be reconfigured as needed.
Binds a source pattern to a backend for all logs that are of severity equal or higher to level.
Removes all existing bindings.
Returns a Log
for the given source with a severity level and backend according to the bindings in self.
Log::Configuration
Reference
Reference
Object
Object
Binds a source pattern to a backend for all logs that are of severity equal or higher to level.
Removes all existing bindings.
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Log/Builder.html