Class: Brogger::Null

Inherits:
Logger
  • Object
show all
Defined in:
lib/brogger/null.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Null

Returns a new instance of Null.



8
# File 'lib/brogger/null.rb', line 8

def initialize(*args); end

Instance Method Details

#add(severity, message = nil, progname = nil) ⇒ Object



4
5
6
# File 'lib/brogger/null.rb', line 4

def add(severity, message = nil, progname = nil)
  yield if message.nil? && block_given?
end