Class: RosettaQueue::Logger

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

Instance Method Summary collapse

Instance Method Details

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



21
22
23
# File 'lib/rosetta_queue/logger.rb', line 21

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