Class: GetaroundUtils::LogFormatters::DeepKeyValue::Base
- Inherits:
-
Object
- Object
- GetaroundUtils::LogFormatters::DeepKeyValue::Base
- Includes:
- Shared
- Defined in:
- lib/getaround_utils/log_formatters/deep_key_value.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Shared
Instance Method Details
#call(severity, _datetime, appname, message) ⇒ Object
22 23 24 25 |
# File 'lib/getaround_utils/log_formatters/deep_key_value.rb', line 22 def call(severity, _datetime, appname, ) payload = { severity: severity, appname: appname } "#{normalize(payload)} #{normalize()}\n" end |