Class: Hodel3000CompliantLogger
- Inherits:
-
Logger
- Object
- Logger
- Hodel3000CompliantLogger
- 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 (severity, , msg, progname) "#{.strftime("%b %d %H:%M:%S")} [#{$PID}]: #{severity} - #{progname.gsub(/\n/, '').lstrip}\n" end |