lib/betterlog/log/event.rb in betterlog-0.15.2 vs lib/betterlog/log/event.rb in betterlog-0.18.0
- old
+ new
@@ -84,11 +84,11 @@
severity: @data[:severity],
message: @data.fetch(:message, '').encode('utf-8', invalid: :replace, undef: :replace, replace: ''),
})
end
- def format(*args)
- Log::EventFormatter.new(self).format(*args)
+ def format(**args)
+ Log::EventFormatter.new(self).format(**args)
end
alias to_s format
def []=(name, value)