Skip to content

Commit 4621dd5

Browse files
committed
update docs
1 parent 19767bd commit 4621dd5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ A `FileLifecycleHooks`-based plugin for the [Serilog File Sink](https://github.c
88

99
`FileLifecycleHooks` is a new Serilog File Sink mechanism that allows hooking into log file lifecycle events, and allows scenarios such as wrapping the Serilog output stream in another stream.
1010

11-
This new mechanism is so far only available in the the `dev` Serilog packages, so note that if you already have a production version of the `Serilog.Sinks.File` package installed, you will need to switch it out for the latest `dev` version.
12-
13-
To get started, install the latest [Serilog.Sinks.File.Header](https://www.nuget.org/packages/Serilog.Sinks.File.Header) `dev` package from NuGet:
11+
To get started, install the latest [Serilog.Sinks.File.Header](https://www.nuget.org/packages/Serilog.Sinks.File.Header) package from NuGet:
1412

1513
```powershell
16-
Install-Package Serilog.Sinks.File.Header -Version 1.0.0-dev
14+
Install-Package Serilog.Sinks.File.Header -Version 1.0.1
1715
```
1816

1917
To enable writing a header, use one of the new `LoggerSinkConfiguration` extensions that has a `FileLifecycleHooks` argument, and create a new `HeaderWriter`:

0 commit comments

Comments
 (0)