Skip to content

Commit

Permalink
STORY-18706: Remove unnecessary block arg
Browse files Browse the repository at this point in the history
  • Loading branch information
dcaddell committed Jul 10, 2024
1 parent 1abdc24 commit a3b484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/contextual_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def deep_merge_with_current_context(stacked_context)
module BroadcastLoggerMixin
method_names = LOG_LEVEL_NAMES_TO_SEVERITY.keys << :add

method_names.each do |method_name, log_level|
method_names.each do |method_name|
class_eval(<<~EOS, __FILE__, __LINE__ + 1)
def #{method_name}(...)
dispatch { |logger| logger.#{method_name}(...) }
Expand Down

0 comments on commit a3b484a

Please sign in to comment.