Skip to content

Commit

Permalink
Update summary of ToMaximumDepth method
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-earwaker authored and Twinki14 committed Dec 30, 2023
1 parent b219dfb commit 6be463a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Serilog/Configuration/LoggerDestructuringConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ public LoggerConfiguration ByTransforming<TValue>(Func<TValue, object> transform
}

/// <summary>
/// When destructuring objects, depth will be limited to 5 property traversals deep to
/// When destructuring objects, depth will be limited to 10 property traversals deep to
/// guard against ballooning space when recursive/cyclic structures are accidentally passed. To
/// increase this limit pass a higher value.
/// change this limit pass a new maximum depth.
/// </summary>
/// <param name="maximumDestructuringDepth">The maximum depth to use.</param>
/// <returns>Configuration object allowing method chaining.</returns>
Expand Down

0 comments on commit 6be463a

Please sign in to comment.