Class: Lumberjack::Device::Null

Inherits:
Lumberjack::Device show all
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

Methods inherited from Lumberjack::Device

#cleanup_files!, #close, #datetime_format, #datetime_format=, #do_once, #flush, #reopen

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