Skip to content

Commit 4a895fe

Browse files
committed
Improve the README regarding log events coming from Microsoft.Extensions.Logging
Fixes #286
1 parent b290b19 commit 4a895fe

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
@@ -77,7 +77,7 @@ static string FormatMessageWithoutQuotes(LogEvent logEvent, IFormatProvider? for
7777
```
7878

7979
> [!NOTE]
80-
> By default, only log events coming from `Microsoft.Extensions.Logging` are formatted without quotes.
80+
> By default, only log events coming from `Microsoft.Extensions.Logging` are formatted without quotes. Log events are identified as coming from `Microsoft.Extensions.Logging` if they have a non-zero [event ID](https://learn.microsoft.com/en-us/dotnet/core/extensions/logging#log-event-id) or a non-null [EventId](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.eventid) name.
8181
8282
To restore the behaviour of version 1.2.0 and earlier (i.e. quoting of all strings), apply te following message formatter:
8383

0 commit comments

Comments
 (0)