Method: Baha::Log::Formatter#call
- Defined in:
- lib/baha/log.rb
#call(severity, time, progname, msg) ⇒ Object
13 14 15 |
# File 'lib/baha/log.rb', line 13 def call(severity, time, progname, msg) Format % [time.strftime('%Y-%m-%d %H:%M:%S.%L'), severity, progname, msg2str(msg)] end |