lib/ougai/formatters/readable.rb in ougai-1.5.0 vs lib/ougai/formatters/readable.rb in ougai-1.5.2

- old
+ new

@@ -18,10 +18,10 @@ end def call(severity, time, progname, data) msg = data.delete(:msg) level = @plain ? severity : colored_level(severity) - strs = ["[#{time.iso8601(3)}] #{level}: #{msg}"] + strs = ["[#{format_datetime(time)}] #{level}: #{msg}"] if err_str = create_err_str(data) strs.push(err_str) end @excluded_fields.each { |f| data.delete(f) } unless data.empty?