Skip to content

Commit d974321

Browse files
authored
Note the namespace for ExpressionTemplate in the README [skip ci]
1 parent 06abad0 commit d974321

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ _Serilog.Expressions_ includes the `ExpressionTemplate` class for text formattin
8585
it works with any text-based Serilog sink:
8686

8787
```csharp
88+
// using Serilog.Templates;
89+
8890
Log.Logger = new LoggerConfiguration()
8991
.WriteTo.Console(new ExpressionTemplate(
9092
"[{@t:HH:mm:ss} {@l:u3} ({SourceContext})] {@m} (first item is {Items[0]})\n{@x}"))

0 commit comments

Comments
 (0)