-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
Need to depend on the log
crate to manually compare LevelFilter
#54
Comments
Hey, thanks for your report! So if we'd re-export What I would rather imagine is that we define our own What do you think? |
Sure, I proposed a "simple" re-export but having an internal representation sounds better. "Worst" cases scenario the raw verbosity value like proposed in #53. "Worst" in the sense that it take the familiar C approach instead of using a higher level data type. |
+1 to the feature gates idea |
|
Thanks Ed.
I would have done it myself but I am currently on vacation! 😂 Greetings from Crete!
|
To make the sample code I wrote in #53 work, we need to depend on the log crate.
Fixed sample code:
I’m not sure if I want to use the log crate or tracing yet… Since this crate can support both logging frameworks, it feels strange to be forced to depends on the log crate to manually manage the log level.
I think the
LevelFilter
could be re-exported (and maybeLevel
too).The text was updated successfully, but these errors were encountered: