Class: Hodel3000CompliantLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/castronaut/configuration.rb

Instance Method Summary collapse

Instance Method Details

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



6
7
8
# File 'lib/castronaut/configuration.rb', line 6

def format_message(severity, timestamp, msg, progname)
  "#{timestamp.strftime("%b %d %H:%M:%S")} [#{$PID}]: #{severity} - #{progname.gsub(/\n/, '').lstrip}\n"
end