Class: ChupaText::DefaultLogger::Formatter
- Inherits:
-
Object
- Object
- ChupaText::DefaultLogger::Formatter
- Defined in:
- lib/chupa-text/default-logger.rb
Instance Method Summary collapse
Instance Method Details
#call(severity, time, program_name, message) ⇒ Object
127 128 129 130 131 132 133 134 |
# File 'lib/chupa-text/default-logger.rb', line 127 def call(severity, time, program_name, ) "%s: [%d] %s: %s" % [ time.iso8601(6), Process.pid, severity[0, 1], (), ] end |