Class: Brogger::Null
- Inherits:
-
Logger
- Object
- Logger
- Brogger::Null
- Defined in:
- lib/brogger/null.rb
Instance Method Summary collapse
- #add(severity, message = nil, progname = nil) ⇒ Object
-
#initialize(*args) ⇒ Null
constructor
A new instance of Null.
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, = nil, progname = nil) yield if .nil? && block_given? end |