Skip to content

Commit f3d0f50

Browse files
authored
Merge pull request #115 from andriibratanin/patch-1
Update README.md
2 parents 62115eb + b6cc8b5 commit f3d0f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The following properties are available in expressions:
125125

126126
* **All first-class properties of the event** - no special syntax: `SourceContext` and `Cart` are used in the formatting examples above
127127
* `@t` - the event's timestamp, as a `DateTimeOffset`
128-
* `@m` - the rendered message
128+
* `@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)
129129
* `@mt` - the raw message template
130130
* `@l` - the event's level, as a `LogEventLevel`
131131
* `@x` - the exception associated with the event, if any, as an `Exception`

0 commit comments

Comments
 (0)