Method: Log::Formatter#call
- Defined in:
- lib/pmux/util_logger.rb
#call(severity, time, progname, msg) ⇒ Object
10 11 12 13 |
# File 'lib/pmux/util_logger.rb', line 10 def call severity, time, progname, msg tstr = time.strftime("%Y-%m-%d %H:%M:%S") Format % [tstr, msg2str(msg)] end |