From 76ae707c88f0f1f8aaca07376ba749fcb728f6ba Mon Sep 17 00:00:00 2001 From: Nenad Vicentic Date: Wed, 25 Jan 2023 10:41:32 +0100 Subject: [PATCH] fix: Example in README is incorrect #402 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f7b78a2..4bcb4c2d 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Simplest way to register this sink is to use default configuration: ```csharp var loggerConfig = new LoggerConfiguration() - .WriteTo.Elasticsearch(new ElasticsearchSinkOptions(new Uri("http://localhost:9200")); + .WriteTo.Elasticsearch(new ElasticsearchSinkOptions(new Uri("http://localhost:9200"))); ``` Or, if using .NET Core and `Serilog.Settings.Configuration` Nuget package and `appsettings.json`, default configuration would look like this: