Class: Larynx::Logger
- Inherits:
-
Logger
- Object
- Logger
- Larynx::Logger
- Defined in:
- lib/larynx/logger.rb
Instance Method Summary collapse
Instance Method Details
#format_message(severity, timestamp, progname, msg) ⇒ Object
3 4 5 6 |
# File 'lib/larynx/logger.rb', line 3 def (severity, , progname, msg) time = .strftime("%Y-%m-%dT%H:%M:%S.") << "%06d" % .usec "[%s] %5s: %s\n" % [time, severity, msg] end |