From 37dfc25963e3e7f5b80b34200d32c786df481576 Mon Sep 17 00:00:00 2001 From: Konstantin Safonov Date: Sat, 16 Jan 2021 17:25:03 +0300 Subject: [PATCH] Configure logger --- src/appSettings.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/appSettings.json b/src/appSettings.json index 89e38d3..f7a4941 100644 --- a/src/appSettings.json +++ b/src/appSettings.json @@ -2,7 +2,13 @@ "Serilog": { "MinimumLevel": "Verbose", "WriteTo": [ - "Console", + { + "Name": "Console", + "Args": { + "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console" + } + } + , { "Name": "Logger", "Args": {