Class: ConsoleLogger::Formatter
- Inherits:
-
Logger::Formatter
- Object
- Logger::Formatter
- ConsoleLogger::Formatter
- Defined in:
- lib/console_logger.rb
Instance Method Summary collapse
Instance Method Details
#call(severity, time, progname, msg) ⇒ Object
21 22 23 |
# File 'lib/console_logger.rb', line 21 def call(severity, time, progname, msg) "#{severity}: #{msg.strip}\n" end |