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 flag to enable / disable logger #21

Merged
merged 1 commit into from
May 23, 2019

Conversation

robertodoering
Copy link
Contributor

Hi @jhomlala,
I added a flag in the constructor of Catcher to disable the description to onRecord of Logger.

Reason being that when someone wants to use Catcher and already uses the Logger package with their own onRecord listener, every log message will be logged twice.

Feel free to close this PR if you think it's not necessary or if you plan to address this issue in a different way ;).

@jhomlala
Copy link
Owner

Hi, thank you for your PR. I'm happy to merge it :) 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants