serilog-expressions
serilog-expressions copied to clipboard
An embeddable mini-language for filtering, enriching, and formatting Serilog events, ideal for use with JSON or XML configuration.
When I write something like the following: ``` loggerConfiguration.WriteTo.Console(new ExpressionTemplate( "[{@t:HH:mm:ss} {@l:u3}] {@m}\n{@x}", theme: TemplateTheme.Grayscale, applyThemeWhenOutputIsRedirected: true)); ``` using .NET Aspire - I end up getting mumbo-jumbo in the Project...
* #110 - fix crash in `PublishedTrimmed=True` builds (@malciin)
The README states: `@x - the exception associated with the event, if any, as an Exception` which implies to me that you are able to access the properties of that...
Fixes #103
Fixes #107 The existing behavior was intended to allow `@p.X` to be an escape hatch so that the reference to `X` is invisible to `rest()`. This turns out to be...
I'd like to be able to prove `Serilog.Expressions.dll` hasn't been tampered, but I can't since this file doesn't have a digital signature. Signing `Serilog.Expressions.dll` in the the shipped NuGet package...
**Is your feature request related to a problem? Please describe.** I'd like to write a list of UDFs (user-define functions) and config it in appsettings.json file, but now seems no...
**Is your feature request related to a problem? Please describe.** I'd like to format my JSON with camelcase properties, since I am using a backend for visualization of logs (Grafana...
Hi @nblumhardt 👋 Is it possible that Serilog.Expressions works or already supports working with Timestamp and dates? Such as some shown in the SEQ Cheatsheet `@Timestamp >= Now() - 1h`...
* Invalid regular expressions in `IsMatch()`/`IndexOfMatch()` (currently these throw) * Unknown function names (these throw too) * Application of the `ci` modifier to a non-case-modifiable function (these errors are ignored)