log!(knownCause|unknownEffect|breaksFlow)("This is a severe message.");

Simply defining log level enum in terms of this bit field would help a lot. Like, what is the first thing I do when getting a new log lib? Checking all pre-defined log levels and deciding when to use them. And, woah, here it is, subtle but formal guide for use cases!

Reply via email to