module Log::Configuration

Overview

Used in Log.setup methods to configure the binding to be used.

Direct including types

Defined in:

log/builder.cr

Instance Method Summary

Instance Method Detail

abstract def bind(source : String, level : Severity, backend : Backend)Source

Binds a source pattern to a backend for all logs that are of severity equal or higher to level.

© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/Log/Configuration.html