Skip to content

Commit 0c00d6d

Browse files
Update README.md
updated with suggestion from @adamchester
1 parent 56d9dfe commit 0c00d6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Log.Logger = new LoggerConfiguration()
1717
.Enrich.WithThreadId()
1818
.CreateLogger();
1919
```
20-
21-
In order for the ThreadId to show up in the logging, you will need to create or modify your output template.
20+
Many sinks simply include all properties without further action required, so the thread id will be logged automatically.
21+
However, some sinks, such as the File and Console sinks use an output template and the new ThreadId may not be automatically output in your sink. In this case, in order for the ThreadId to show up in the logging, you will need to create or modify your output template.
2222

2323
```csharp
2424
w.File(...., outputTemplate:

0 commit comments

Comments
 (0)