Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
saraid committed Aug 20, 2024
1 parent 42cdcce commit 4449bce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,7 @@ def format_severity(severity)
SEV_LABEL[severity] || 'ANY'
end

# Guarantee the existence of this ivar even when subclasses don't call the superclass constructor.
def level_override
@level_override ||= {}
end
Expand Down

0 comments on commit 4449bce

Please sign in to comment.