Class: Integrity::LogFormatter
- Defined in:
- lib/integrity.rb
Instance Method Summary collapse
Instance Method Details
#call(severity, time, progname, msg) ⇒ Object
75 76 77 |
# File 'lib/integrity.rb', line 75 def call(severity, time, progname, msg) time.strftime("[%H:%M:%S] ") + msg2str(msg) + "\n" end |