Class: Dropcaster::LogFormatter

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/dropcaster/log_formatter.rb

Instance Method Summary collapse

Instance Method Details

#call(severity, time, program_name, message) ⇒ Object


15
16
17
# File 'lib/dropcaster/log_formatter.rb', line 15

def call(severity, time, program_name, message)
  "#{severity}: #{message}\n"
end