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

LoggerConfiguration MinimumLevel #8

Open
simmotech opened this issue Jun 23, 2021 · 0 comments
Open

LoggerConfiguration MinimumLevel #8

simmotech opened this issue Jun 23, 2021 · 0 comments

Comments

@simmotech
Copy link

On a LoggerConfiguration instance, I can't find a way of getting the MinimumLevel LogEventLevel.
Either from the _minimumLevel field or the MinimumLevelConfiguration - neither has anything public.

Reason for needing it:
I create a LoggerConfiguration from the app.config file and now want to set it's MinimumLevel.ControlledBy to a LevelSwitch but I can't pre-initialize that LevelSwitch with the current LogEventLevel as it is hidden away.

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