Class: Loggr::Adapter::BaseAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- Loggr::Adapter::BaseAdapter
- Defined in:
- lib/loggr/adapter/base.rb
Overview
Default backend which is backed Rubys Stdlib Logger.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from AbstractAdapter
Instance Method Details
#logger(name, options = {}) ⇒ Object
13 14 15 16 17 |
# File 'lib/loggr/adapter/base.rb', line 13 def logger(name, = {}) name = normalize_name(name) @loggers ||= {} @loggers[name] ||= build_new_logger(name, ) end |