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

Support LoggingLevelSwitch and restrictedToMinimumLevel in Serilog Sink #328

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Aug 3, 2023

This allows the sink to have a separate logging level from other sinks.

Either hardcoded through restrictedToMinimumLevel (name by convention)

Or dynamically through LoggingLevelSwitch

Fixes #309, #310

This allows the sink to have a separate logging level from other sinks.

Either hardcoded through restrictedToMinimumLevel (name by convention)

Or dynamically through `LoggingLevelSwitch`
Copy link
Member

@flobernd flobernd left a comment

Choose a reason for hiding this comment

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

LGTM!

@Mpdreamz Mpdreamz merged commit 88f2bc8 into main Aug 3, 2023
4 checks passed
@Mpdreamz Mpdreamz deleted the feature/seperate-minimum-level-serilog branch August 3, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v8.6.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Cannot filter minimum level only for ElasticSearch
2 participants