Added logging.json file

This commit is contained in:
Bond_009
2018-12-14 22:07:28 +01:00
parent 88f5471fe3
commit a51798dd8d
3 changed files with 73 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
{
"Serilog": {
"MinimumLevel": "Information",
"WriteTo": [
{ "Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] {Message}{NewLine}{Exception}"
}
},
{ "Name": "File",
"Args": {
"path": "logs//log_.log",
"rollingInterval": "Day",
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
}
}
]
}
}