Module: Dry
- Defined in:
- lib/dry/logger.rb,
lib/dry/logger/clock.rb,
lib/dry/logger/entry.rb,
lib/dry/logger/filter.rb,
lib/dry/logger/global.rb,
lib/dry/logger/version.rb,
lib/dry/logger/constants.rb,
lib/dry/logger/dispatcher.rb,
lib/dry/logger/backends/io.rb,
lib/dry/logger/backends/core.rb,
lib/dry/logger/backends/file.rb,
lib/dry/logger/backends/proxy.rb,
lib/dry/logger/backends/stream.rb,
lib/dry/logger/formatters/json.rb,
lib/dry/logger/formatters/rack.rb,
lib/dry/logger/formatters/colors.rb,
lib/dry/logger/formatters/string.rb,
lib/dry/logger/formatters/template.rb,
lib/dry/logger/formatters/structured.rb
Defined Under Namespace
Modules: Logger
Class Method Summary collapse
-
.Logger(id, **options, &block) ⇒ Dispatcher
Set up a logger dispatcher.
Class Method Details
.Logger(id, **options, &block) ⇒ Dispatcher
Set up a logger dispatcher
69 70 71 |
# File 'lib/dry/logger.rb', line 69 def self.Logger(id, **, &block) Logger::Dispatcher.setup(id, **, &block) end |