module Crylog
Overview
A flexible logging framework for Crystal.
Defined in:
logger.crmessage.cr
registry.cr
crylog.cr
Class Method Summary
-
.configure(&block : Registry.class -> Nil) : Nil
Configures
Crylog
. -
.default_channel : String
The channel to use when no channel is supplied to
.logger
. -
.default_channel=(default_channel : String)
The channel to use when no channel is supplied to
.logger
. -
.logger(channel : String = Crylog.default_channel) : Crylog::Logger
Returns a
Crylog::Logger
for the provided channel.
Class Method Detail
Configures Crylog
. Defines the logger instances.
def self.default_channel=(default_channel : String)
#
The channel to use when no channel is supplied to .logger
.
Returns a Crylog::Logger
for the provided channel.