Class: Interpret::InterpretLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/interpret/logger.rb

Instance Method Summary collapse

Instance Method Details

#format_message(severity, timestamp, progname, msg) ⇒ Object



3
4
5
# File 'lib/interpret/logger.rb', line 3

def format_message(severity, timestamp, progname, msg)
  "#{timestamp.to_formatted_s(:db)} #{msg}\n"
end