reidmorrison / rails_semantic_logger

Rails Semantic Logger replaces the Rails default logger with Semantic Logger
https://logger.rocketjob.io/rails
Apache License 2.0
325 stars 116 forks source link

Fix: `log_arguments` of Mailer does not work properly #197

Closed nhosoya closed 11 months ago

nhosoya commented 11 months ago

Issue # (if available)

The log_arguments setting in Mailer does not suppress argument logging when set to false. Arguments are still included in the payload.

Description of changes

Corrected typos in the formatted_args method, which previously resulted in arguments being logged regardless of the log_arguments setting.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

nhosoya commented 11 months ago

hi, @reidmorrison Could you please review it?