Class: Loggr::Adapter::NOPAdapter
- Inherits:
-
AbstractAdapter
- Object
- AbstractAdapter
- Loggr::Adapter::NOPAdapter
- Defined in:
- lib/loggr/adapter/nop.rb
Overview
Silences all logging operations, nothing is written at all.
Defined Under Namespace
Classes: NOPLogger
Instance Method Summary collapse
-
#logger(name, options = {}) ⇒ Object
Get single NOPLogger instance.
Methods inherited from AbstractAdapter
Instance Method Details
#logger(name, options = {}) ⇒ Object
Get single NOPLogger instance
35 36 37 |
# File 'lib/loggr/adapter/nop.rb', line 35 def logger(name, = {}) @logger ||= NOPLogger.new end |