日志配置
This commit is contained in:
parent
e9ffc7f2be
commit
8b874ac425
@ -1,6 +1,16 @@
|
||||
{
|
||||
"Serilog": {
|
||||
"Using": [ "Serilog.Sinks.File", "Serilog.Sinks.Seq", "Serilog.Settings.Configuration", "Serilog.Exceptions", "Serilog.Enrichers.Span", "Serilog.Enrichers.Thread", "Serilog.Enrichers.Process" ],
|
||||
"Using": [
|
||||
//"Serilog.Sinks.Console",
|
||||
//"Serilog.Sinks.Debug",
|
||||
"Serilog.Sinks.Seq",
|
||||
"Serilog.Settings.Configuration",
|
||||
"Serilog.Exceptions",
|
||||
"Serilog.Enrichers.Span",
|
||||
"Serilog.Enrichers.Thread",
|
||||
"Serilog.Enrichers.Process",
|
||||
"Serilog.Enrichers.Environment"
|
||||
],
|
||||
"Enrich": [
|
||||
"FromLogContext",
|
||||
// Add full exception details using Serilog.Exceptions https://github.com/RehanSaeed/Serilog.Exceptions.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user