Skip to content

Commit 2ae2938

Browse files
authored
Fix example code [Skip CI]
1 parent eb029b6 commit 2ae2938

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
@@ -22,7 +22,7 @@ The formatter is used in conjunction with sinks that accept `ITextFormatter`. Fo
2222

2323
```csharp
2424
Log.Logger = new LoggerConfiguration()
25-
.WriteTo.Sink(new RollingFileSink("./logs/myapp", new CompactJsonFormatter()
25+
.WriteTo.Sink(new RollingFileSink("./logs/myapp.txt", new CompactJsonFormatter(), null, null))
2626
.CreateLogger();
2727
```
2828

0 commit comments

Comments
 (0)