lib/ougai/formatters/readable.rb in ougai-1.8.1 vs lib/ougai/formatters/readable.rb in ougai-1.8.2
- old
+ new
@@ -26,10 +26,11 @@
@excluded_fields = opts[:excluded_fields] || []
@serialize_backtrace = true
load_dependent
end
- def _call(severity, time, progname, data)
+ def _call(severity, time, progname, _data)
+ data = _data.dup
msg = data.delete(:msg)
level = @plain ? severity : colored_level(severity)
dt = format_datetime(time)
err_str = create_err_str(data)