Skip to content

Commit 04d0a9f

Browse files
authored
Update README.md
1 parent 0250994 commit 04d0a9f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Serilog.Sinks.Async [![Build status](https://ci.appveyor.com/api/projects/status/rostpmo2gq08ecag?svg=true)](https://ci.appveyor.com/project/mindkin/serilog-sinks-async)
22
An async Serilog sink
33

4-
Use this buffered, async, delegating, sink to reduce the time it takes for your app to write your log events to your sinks. This sink can work with any `IEventLogSink` you use.
4+
Use this buffered, async, delegating, sink to reduce the time it takes for your app to write your log events to your sinks. This sink can work with any `IEventLogSink` you use.
5+
56
Especially suited to sinks that are either slow to write or have I/O bottlenecks (like http, databases, file writes etc.).
67
This sink uses a separate thread pool thread to write to your sink, freeing up the calling thread to run in your app without having to wait.
8+
79
Utilizes the producer/consumer pattern (using the TPL `BufferBlock<T>` class), where the calling thread produces log events (on your main thread), and the consumer runs on a thread pool thread consuming log events and writing them to your sink.
810

911
Install from NuGet:
@@ -33,3 +35,6 @@ Log.Logger = new LoggerConfiguration()
3335
// Other logger configurationg
3436
.CreateLogger()
3537
```
38+
39+
## About this Sink
40+
This sink was created by this conversation thread: https://github.com/serilog/serilog/issues/809

0 commit comments

Comments
 (0)