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

InternalLogger writes to output even if logging is disabled in configuration #93

Open
LukasNeoproud opened this issue Aug 10, 2016 · 0 comments

Comments

@LukasNeoproud
Copy link

I would like to make MetroLog completely silent if an application is built in release configuration. First I disabled logging in configuration LogManagerFactory.DefaultConfiguration.IsEnabled = false; but MetroLog still wrote messages like this: Created Logger 'App'.

I later found out that InternalLogger class is responsible for this output. However, it is enabled for all log levels and cannot be disabled in any way. I suggest to add IsEnabled property to InternalLogger. I am willing to make a pull request with this change but I am not sure if it is the right solution for this problem.

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

No branches or pull requests

1 participant