src/Test/XXX60.API/serilog.json
(完整代码) 1KB{
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.Async", "Serilog.Sinks.File" ],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Default": "Information",
"Microsoft": "Information",
"System": "Information",
"System.Net.Http.HttpClient": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"WriteTo:Async": {
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console"
}
//,{
// "Name": "File",
// "Args": {
// "path": "Logs/.txt",
// "rollingInterval": "Day",
// "retainedFileCountLimit": "31", //Number of retained files by default 31
// "retainedFileTimeLimit": "10.00:00:00", //Deletes files older than 10 days
// "outputTemplate": "{Timestamp:o} [{Level:u3}] ({Application}/{MachineName}/{ThreadId}) {Message}{NewLine}{Exception}"
// }
//}
]
}
},
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
"Properties": {
"Application": "XXX"
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。