Skip to content

Conversation

bryanp
Copy link

@bryanp bryanp commented Oct 14, 2019

Verbosity typically decreases numerically (e.g. debug=0, fatal=4), so Console::Filter#all! should set level to min, while Console::Filter#off! should set to one greater than max.

@bryanp bryanp requested a review from ioquatix October 14, 2019 14:17

def all!
@level = self.class::MAXIMUM_LEVEL
@level = -1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at this, I wonder what I was thinking when I wrote this. Seriously, it looks messed up.

Copy link
Member

@ioquatix ioquatix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this issue and the included specs are great.

@ioquatix ioquatix merged commit be8fb40 into master Oct 15, 2019
@ioquatix ioquatix added this to the v1.5.0 milestone Oct 15, 2019
@ioquatix ioquatix deleted the bugfix/off-all branch November 19, 2021 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants