-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappsettings.json
28 lines (28 loc) · 965 Bytes
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"Serilog": {
"WriteTo:Async": {
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console",
"Args": {
"restrictedToMinimumLevel": "Information",
"outputTemplate": "[{Timestamp:HH:mm:ss}] [{Level:u3}] ({ThreadName}): <msgplaceholder>{Message}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"restrictedToMinimumLevel": "Information",
"path": "%APPDATA%/PotatoWall/logs/log_.log",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:HH:mm:ss} [{Level,3:u}] (PotatoWall/{MachineName}/{ThreadId}/{ThreadName}) {Message}{NewLine}{Exception}"
}
}
]
}
},
"Enrich": [ "WithMachineName", "WithProcessName", "WithProcessId", "WithThreadName", "WithThreadId", "WithExceptionDetails" ]
}
}