Class: Apache::LogFormatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- Apache::LogFormatter
- Defined in:
- lib/apache/logger.rb
Overview
A formatter for log messages that will be forwarded into Apache’s log system.
Instance Method Summary collapse
Instance Method Details
#call(severity, time, progname, msg) ⇒ Object
26 27 28 |
# File 'lib/apache/logger.rb', line 26 def call( severity, time, progname, msg ) return "[%s] %s: %s" % [ severity, progname, msg ] end |