-
Notifications
You must be signed in to change notification settings - Fork 446
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
Add support for log level (closes #33) #93
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Tomer! Awesome work! 🚀🚀🚀
I’m sure it’ll make some users happy :)
Can you please add the env flag to README?
@@ -0,0 +1,19 @@ | |||
type t = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider moving this file to the Logger
module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's where it was initially, but I had a cyclic dependency Config -> Logger -> Config
because Config
needs the log level and Logger
needs the config value in runtime
I added the flag to the readme, I didn't elaborate as I think it's self explanatory, but let me know otherwise. |
Sorry I haven’t looked at it yet. I’m on vacation 🇵🇱 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 🌮 🏆
Thanks @ohana54 😸
Supports "quiet", "error" and "all".