Skip to content

Commit 1cfd5d4

Browse files
author
Stan van Rooy
authored
Create README.md
1 parent 76c853e commit 1cfd5d4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Elfsquad.ParseableSerilogSink
2+
3+
## Usage
4+
5+
```c#
6+
var parseableSinkOptions = new ParseableSinkOptions
7+
{
8+
Host = "localhost:8000",
9+
Stream = "teststream",
10+
BatchSizeLimit = 100,
11+
};
12+
13+
builder.UseSerilog((_, services, configuration) =>
14+
{
15+
configuration
16+
.WriteTo.Parseable(parseableSinkOptions)
17+
...
18+
}
19+
```

0 commit comments

Comments
 (0)