Class: Log4Ruby::NilAppender
- Defined in:
- lib/log4ruby/appenders/nil_appender.rb
Overview
An appender that does nothing. All logs to it are ignored and just consumed.
Instance Attribute Summary
Attributes inherited from Appender
Instance Method Summary collapse
-
#initialize(level, options = {}) ⇒ NilAppender
constructor
New NilAppender.
-
#process_log(log) ⇒ Object
Don’t do anything with the log.
Methods inherited from Appender
Constructor Details
#initialize(level, options = {}) ⇒ NilAppender
New NilAppender. Does nothing.
16 17 |
# File 'lib/log4ruby/appenders/nil_appender.rb', line 16 def initialize(level, = {}) end |
Instance Method Details
#process_log(log) ⇒ Object
Don’t do anything with the log. Just return.
20 21 |
# File 'lib/log4ruby/appenders/nil_appender.rb', line 20 def process_log(log) end |