Skip to content

Commit 4ab6ec0

Browse files
committed
added destructure section to sample json
1 parent 76b0bf2 commit 4ab6ec0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Configuration is read from the `Serilog` section.
1414
{ "Name": "File", "Args": { "path": "%TEMP%\\Logs\\serilog-configuration-sample.txt" } }
1515
],
1616
"Enrich": ["FromLogContext", "WithMachineName", "WithThreadId"],
17+
"Destructure": [
18+
{ "Name": "ToMaximumDepth", "Args": { "maximumDestructuringDepth": 4 } },
19+
{ "Name": "ToMaximumStringLength", "Args": { "maximumStringLength": 100 } },
20+
{ "Name": "ToMaximumCollectionCount", "Args": { "maximumCollectionCount": 10 } }
21+
],
1722
"Properties": {
1823
"Application": "Sample"
1924
}

0 commit comments

Comments
 (0)