Skip to content

Commit 27739bb

Browse files
authored
Merge pull request serilog#52 from serilog/readme-rollingfile
Fix remaining reference to RollingFile sink [Skip CI]
2 parents 56b3753 + 9fe9c0d commit 27739bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To avoid bringing down apps with runaway disk usage the file sink **limits file
3939
For the same reason, only **the most recent 31 files** are retained by default (i.e. one long month). To change or remove this limit, pass the `retainedFileCountLimit` parameter.
4040

4141
```csharp
42-
.WriteTo.RollingFile("log.txt", rollingInterval: RollingInterval.Day, retainedFileCountLimit: null)
42+
.WriteTo.File("log.txt", rollingInterval: RollingInterval.Day, retainedFileCountLimit: null)
4343
```
4444

4545
### Rolling policies

0 commit comments

Comments
 (0)