10.0.1 Release#475
Draft
nblumhardt wants to merge 20 commits intomainfrom
Draft
Conversation
Fixes #461 Updates ParseLogEventLevel() to accept LevelAlias values (Off, Minimum, Maximum) before attempting to parse as LogEventLevel enum. This allows users to set 'MinimumLevel': 'Off' in appsettings.json to completely disable logging, which previously failed with an exception.
- Mark ParseLogEventLevel as internal for testability - Add theory tests covering all LogEventLevel enum values - Add theory tests covering LevelAlias values (Off, Minimum, Maximum) - Add tests for case insensitivity - Add tests for invalid value handling
Support LevelAlias names in configuration parsing
…e.g. `"cookie1"`) does not silently convert to a single-element array
Fix: Update ConditionalSink expression syntax in sample app
issue-468: Fix empty/whitespace string converting to array type
FallbackChain and Fallible were introduced as instance methods on LoggerSinkConfiguration in Serilog 4.1, so they weren't discovered by the extension-method scanner. Expose them through the same surrogate pattern already used for Sink/Logger. Sample project demonstrates both features against an AlwaysFailingSink so the fallback path and failure listener are actually exercised at runtime. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Mention Conditional/FallbackChain/Fallible in the nested-configuration section of the README, and extend the sample appsettings.json with WithComputed, ByExcluding, ExpressionTemplate, AuditTo, and a MinimumLevel ControlledBy switch to exercise more of the supported surface. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ation Add WriteTo.FallbackChain and WriteTo.Fallible support in configuration
Fix/issue 441
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LevelAliasnames (@mohammed-saalim)FallbackChainandFallible(@ArieGato, @claude)