Skip to content
This repository was archived by the owner on Jun 1, 2024. It is now read-only.

Commit e3876b1

Browse files
fix: Example in README is incorrect #402 (#496)
1 parent a473d1d commit e3876b1

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
@@ -45,7 +45,7 @@ Simplest way to register this sink is to use default configuration:
4545

4646
```csharp
4747
var loggerConfig = new LoggerConfiguration()
48-
.WriteTo.Elasticsearch(new ElasticsearchSinkOptions(new Uri("http://localhost:9200"));
48+
.WriteTo.Elasticsearch(new ElasticsearchSinkOptions(new Uri("http://localhost:9200")));
4949
```
5050

5151
Or, if using .NET Core and `Serilog.Settings.Configuration` Nuget package and `appsettings.json`, default configuration would look like this:

0 commit comments

Comments
 (0)