lib/semlogr/properties/output_properties.rb in semlogr-0.2.1 vs lib/semlogr/properties/output_properties.rb in semlogr-0.2.2
- old
+ new
@@ -2,10 +2,10 @@
module Properties
class OutputProperties
def self.create(log_event)
properties = log_event.properties.merge(
timestamp: log_event.timestamp,
- severity: log_event.severity.to_s
+ severity: log_event.severity
)
properties[:error] = log_event.error if log_event.error
properties
end