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
hi,
the method LeveL.String panics when Level==InvalidLevel.
LeveL.String
Level==InvalidLevel
https://github.com/apex/log/blob/master/levels.go#L44 https://github.com/apex/log/blob/master/levels.go#L17
I suggest to add a statement before the slice access so that this pseudo value does not appear in the levelNames / levelStrings variables.
levelNames
levelStrings
It could return an empty string or something like invalid
invalid
The text was updated successfully, but these errors were encountered:
👍 sounds good to me
Sorry, something went wrong.
No branches or pull requests
hi,
the method
LeveL.String
panics whenLevel==InvalidLevel
.https://github.com/apex/log/blob/master/levels.go#L44
https://github.com/apex/log/blob/master/levels.go#L17
I suggest to add a statement before the slice access so that this pseudo value does not appear in the
levelNames
/levelStrings
variables.It could return an empty string or something like
invalid
The text was updated successfully, but these errors were encountered: