Class: TestProf::Logging::Formatter
- Inherits:
-
Object
- Object
- TestProf::Logging::Formatter
- Defined in:
- lib/test_prof/logging.rb
Instance Method Summary collapse
Instance Method Details
#call(severity, _time, progname, msg) ⇒ Object
13 14 15 |
# File 'lib/test_prof/logging.rb', line 13 def call(severity, _time, progname, msg) colorize(severity.to_sym, "[#{progname} #{severity}] #{msg}") + "\n" end |