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
If I write var x log15.Lvl there's not a good way to distinguish between unset and Crit, since Crit is 0.
var x log15.Lvl
The usual way to handle this with protobufs is to set e.g. LvlUnknown as the first iota value. Unfortunately that's probably a breaking change now.
iota
The text was updated successfully, but these errors were encountered:
I guess LvlFromString exists for this use case.
LvlFromString
Sorry, something went wrong.
No branches or pull requests
If I write
var x log15.Lvl
there's not a good way to distinguish between unset and Crit, since Crit is 0.The usual way to handle this with protobufs is to set e.g. LvlUnknown as the first
iota
value. Unfortunately that's probably a breaking change now.The text was updated successfully, but these errors were encountered: