From 64ea43be04ce517de84e8a47ce48b9b6e6366bde Mon Sep 17 00:00:00 2001 From: Andrii Bratanin Date: Tue, 14 May 2024 01:51:13 +0300 Subject: [PATCH 1/2] Update README.md Add a link to clarification of missing ":lj" format specifiers for "@m" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2017ab..2e9782d 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ The following properties are available in expressions: * **All first-class properties of the event** - no special syntax: `SourceContext` and `Cart` are used in the formatting examples above * `@t` - the event's timestamp, as a `DateTimeOffset` - * `@m` - the rendered message + * `@m` - the rendered message (Note: do not add format specifiers like `:lj` or you'll lose theme color rendering. These format specifiers are not supported as they've become the default and only option - see their discussion [here](https://github.com/serilog/serilog-expressions/issues/56#issuecomment-1146472988)) * `@mt` - the raw message template * `@l` - the event's level, as a `LogEventLevel` * `@x` - the exception associated with the event, if any, as an `Exception` From b6cc8b51b5565790ca5f73f2a620b52a1f852500 Mon Sep 17 00:00:00 2001 From: Nicholas Blumhardt Date: Tue, 14 May 2024 09:22:50 +1000 Subject: [PATCH 2/2] Update README.md Co-authored-by: Ruben Bartelink --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e9782d..9dd5ecd 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ The following properties are available in expressions: * **All first-class properties of the event** - no special syntax: `SourceContext` and `Cart` are used in the formatting examples above * `@t` - the event's timestamp, as a `DateTimeOffset` - * `@m` - the rendered message (Note: do not add format specifiers like `:lj` or you'll lose theme color rendering. These format specifiers are not supported as they've become the default and only option - see their discussion [here](https://github.com/serilog/serilog-expressions/issues/56#issuecomment-1146472988)) + * `@m` - the rendered message (Note: do not add format specifiers like `:lj` or you'll lose theme color rendering. These format specifiers are not supported as they've become the default and only option - [see the discussion here](https://github.com/serilog/serilog-expressions/issues/56#issuecomment-1146472988) * `@mt` - the raw message template * `@l` - the event's level, as a `LogEventLevel` * `@x` - the exception associated with the event, if any, as an `Exception`