Class: Apache::LogDevice
- Inherits:
-
Logger::LogDevice
- Object
- Logger::LogDevice
- Apache::LogDevice
- Defined in:
- lib/apache/logger.rb
Overview
An adapter object that can be used as a log device for a Logger instance that sends log messages to Apache’s logging subsystem at ‘debug’ level.
Instance Method Summary collapse
-
#close ⇒ Object
No-op – this is here just so Logger doesn’t complain.
-
#initialize(*args) ⇒ LogDevice
constructor
A new instance of LogDevice.
-
#write(message) ⇒ Object
Write a logging message to Apache’s debug log.
Constructor Details
#initialize(*args) ⇒ LogDevice
Returns a new instance of LogDevice.
11 |
# File 'lib/apache/logger.rb', line 11 def initialize( *args ); end |
Instance Method Details
#close ⇒ Object
No-op – this is here just so Logger doesn’t complain
19 |
# File 'lib/apache/logger.rb', line 19 def close; end |