Class: Lumberjack::Device::Null
- Inherits:
-
Lumberjack::Device
- Object
- Lumberjack::Device
- Lumberjack::Device::Null
- Defined in:
- lib/lumberjack/device/null.rb
Overview
This is a logging device that produces no output. It can be useful in testing environments when log file output is not useful.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Null
constructor
A new instance of Null.
- #write(entry) ⇒ Object
Methods inherited from Lumberjack::Device
#cleanup_files!, #close, #do_once, #flush
Constructor Details
#initialize(*args) ⇒ Null
Returns a new instance of Null.
8 9 |
# File 'lib/lumberjack/device/null.rb', line 8 def initialize(*args) end |
Instance Method Details
#write(entry) ⇒ Object
11 12 |
# File 'lib/lumberjack/device/null.rb', line 11 def write(entry) end |