Class: Integrity::LogFormatter

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/integrity.rb

Instance Method Summary collapse

Instance Method Details

#call(severity, time, progname, msg) ⇒ Object



67
68
69
# File 'lib/integrity.rb', line 67

def call(severity, time, progname, msg)
  time.strftime("[%H:%M:%S] ") + msg2str(msg) + "\n"
end