Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/echi-converter.rb
Instance Method Summary collapse
-
#format_message(severity, timestamp, progname, msg) ⇒ Object
Change the logging format to include a timestamp.
Instance Method Details
#format_message(severity, timestamp, progname, msg) ⇒ Object
Change the logging format to include a timestamp
14 15 16 |
# File 'lib/echi-converter.rb', line 14 def (severity, , progname, msg) "#{} (#{$$}) #{msg}\n" end |