Panic on logger trace level if feature disabled #316
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
P-medium
Priority: Medium
Could we make the code panic if the filtering is set to Trace despite Trace being disabled by flag?
I can't think of any situation where you'd want to disable Trace logging by feature but then configure a logger at Trace level, so presumably panicking in this situation wouldn't be bad.
Suggesting it after being bitten by the same "why aren't my trace logs appearing" issue noted in other issues.
The text was updated successfully, but these errors were encountered: