<PackageReference Include="Serilog" Version="4.4.1-dev-02443" />

Serilog.Capturing.TrimConfiguration

static class TrimConfiguration
public static bool IsStructureValueSupported { get; }

True if structure-value types are treated specially by Serilog during logging. The main example of this would be anonymous types, which have a special compiler-generated form. If this switch is disabled, Serilog will not be able to destructure anonymous types, but will still be able to log them as scalar values.