We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to #293 (comment) the 'New expression package uses shorter syntax (CLEF) for expressions.'
as such, the WriteTo:ConditionalSink sink in sample application does not work as expected. @Level should be @l
@Level
@l
"WriteTo:ConditionalSink": { "Name": "Conditional", "Args": { "expression": "@Level in ['Error', 'Fatal']", "configureSink": [ { "Name": "File", "Args": { "path": "%TEMP%/Logs/serilog-configuration-sample-errors.txt", "formatter": { "type": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact", "valueFormatter": { "typeTagName": "customTypeTag" } } } } ] } }
https://github.com/serilog/serilog-settings-configuration/blob/dev/sample/Sample/appsettings.json#L49
The text was updated successfully, but these errors were encountered:
Thanks, nice spotting 👍
Sorry, something went wrong.
No branches or pull requests
According to #293 (comment) the 'New expression package uses shorter syntax (CLEF) for expressions.'
as such, the WriteTo:ConditionalSink sink in sample application does not work as expected.
@Level
should be@l
https://github.com/serilog/serilog-settings-configuration/blob/dev/sample/Sample/appsettings.json#L49
The text was updated successfully, but these errors were encountered: