lib/semantic_logger/appender/bugsnag.rb in semantic_logger-2.15.0 vs lib/semantic_logger/appender/bugsnag.rb in semantic_logger-2.16.0
- old
+ new
@@ -52,10 +52,10 @@
end
# Returns [Hash] of parameters to send to Bugsnag.
def default_formatter
proc do |log|
- h = { severity: log_level(log), tags: log.tags }
+ h = {severity: log_level(log), tags: log.tags, class: log.name}
h.merge!(log.payload) if log.payload
h
end
end