Skip to content

Configure Destructure

Khaos edited this page Apr 28, 2021 · 1 revision

Destructure

<Serilog>
  <Destructure Name="ToMaximumDepth">
    <MaximumDestructuringDepth>3</MaximumDestructuringDepth>
  </Destructure>
  <Destructure Name="ToMaximumStringLength">
    <MaximumStringLength>3</MaximumStringLength>
  </Destructure>
  <Destructure Name="ToMaximumCollectionCount">
    <MaximumCollectionCount>3</MaximumCollectionCount>
  </Destructure>
</Serilog>
Clone this wiki locally