You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -372,7 +372,7 @@ public class FirstDestructuringPolicy : IDestructuringPolicy
372
372
Assuming Serilog needs to destructure an argument of type **MyDto** when handling a log event:
373
373
374
374
```csharp
375
-
logger.LogInformation("About to process input: {@MyDto} ...", myDto);
375
+
logger.Information("About to process input: {@MyDto} ...", myDto);
376
376
```
377
377
378
378
it will apply **FirstDestructuringPolicy** which will convert **MyDto** instance to a **StructureValue** instance; a Serilog console sink would write the following entry:
0 commit comments