We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log levels should always be one of the LogLevel constants, which are currently strings. Accepting mixed for log levels is potentially concealing bugs.
LogLevel
mixed
The text was updated successfully, but these errors were encountered:
it'd be nice if we could restrict the values to an enum type in 4.0 instead of allowing any old string
Sorry, something went wrong.
yeah, that thought already crossed my mind, but it depends on a few core things that will need extraction first.
We can use native enums for this in PHP 8.1+. Nonetheless, this will still be BC-breaking.
No branches or pull requests
log levels should always be one of the
LogLevel
constants, which are currently strings. Acceptingmixed
for log levels is potentially concealing bugs.The text was updated successfully, but these errors were encountered: