Skip to content
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

Merged
merged 1 commit into from
Apr 30, 2019
Merged

Add support for log level (closes #33) #93

merged 1 commit into from
Apr 30, 2019

Conversation

ohana54
Copy link
Contributor

@ohana54 ohana54 commented Apr 15, 2019

Supports "quiet", "error" and "all".

Copy link
Owner

@Schniz Schniz left a 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 =
Copy link
Owner

@Schniz Schniz Apr 16, 2019

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

Copy link
Contributor Author

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

@ohana54
Copy link
Contributor Author

ohana54 commented Apr 16, 2019

I added the flag to the readme, I didn't elaborate as I think it's self explanatory, but let me know otherwise.

@Schniz Schniz added the PR: New Feature A new feature was added label Apr 17, 2019
@Schniz
Copy link
Owner

Schniz commented Apr 19, 2019

Sorry I haven’t looked at it yet. I’m on vacation 🇵🇱

library/LogLevel.re Outdated Show resolved Hide resolved
Copy link
Owner

@Schniz Schniz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🌮 🏆
Thanks @ohana54 😸

@Schniz Schniz merged commit 6b82b9c into Schniz:master Apr 30, 2019
@ohana54 ohana54 deleted the log-level-support branch April 30, 2019 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: New Feature A new feature was added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants