Skip to content

Commit e39a24a

Browse files
authored
MicrosoftConsoleJsonLayout - Forward DottedRecursion to State-JsonLayout (#831)
1 parent d9939e4 commit e39a24a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/NLog.Extensions.Logging/Layouts/MicrosoftConsoleJsonLayout.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ protected override void InitializeLayout()
110110
if (stateJsonLayout != null)
111111
{
112112
stateJsonLayout.MaxRecursionLimit = MaxRecursionLimit;
113+
stateJsonLayout.DottedRecursion = DottedRecursion;
113114
stateJsonLayout.ExcludeEmptyProperties = ExcludeEmptyProperties;
114115
stateJsonLayout.SuppressSpaces = SuppressSpaces && !IndentJson;
115116
if (ExcludeProperties?.Count > 0)

0 commit comments

Comments
 (0)