lib/getaround_utils/railties/lograge.rb in getaround_utils-0.1.20 vs lib/getaround_utils/railties/lograge.rb in getaround_utils-0.2.0

- old
+ new

@@ -1,7 +1,6 @@ require 'rails/railtie' -require 'getaround_utils/log_formatters/deep_key_value' require 'lograge' module GetaroundUtils; end module GetaroundUtils::Railties; end @@ -24,8 +23,7 @@ initializer 'getaround_utils.action_controller' do ActionController::Base.prepend LogrageActionController end config.lograge.enabled = true - config.lograge.formatter = GetaroundUtils::LogFormatters::DeepKeyValue.for_lograge config.lograge.custom_options = ->(event) { event.payload[:lograge] } end