Изменен формат вывода логов

This commit is contained in:
Данияр Аглиуллов 2022-10-30 01:06:03 +04:00
parent 6674aee74e
commit 577f3e1c90

View File

@ -1,13 +1,14 @@
{ {
"Serilog": { "Serilog": {
"Using": [ "Serilog.Sinks.File" ], "Using": [ "Serilog.Sinks.File" ],
"MinimumLevel": "Info", "MinimumLevel": "Information",
"WriteTo": [ "WriteTo": [
{ {
"Name": "File", "Name": "File",
"Args": { "Args": {
"path": "Logs/log_.log", "path": "Logs/log_.log",
"rollingInterval": "Day" "rollingInterval": "Day",
"outputTemplate": "[{Timestamp:HH:mm:ss.fff}]{Level:u4}: {Message:lj}{NewLine}{Exception}"
} }
} }
], ],