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