<PackageReference Include="NLog" Version="6.1.2" />

NLog.SetupSerializationBuilderExtensions

Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration
public static ISetupSerializationBuilder ParseMessageTemplates(this ISetupSerializationBuilder setupBuilder, bool? enable)

Enable/disables the NLog Message Template Parsing:

- true = Always use NLog mesage-template-parser and formatting.

- false = Never use NLog-parser and only use string.Format (Disable support for message-template-syntax).

- null = Auto detection of message-template-syntax, with fallback to string.Format (Default Behavior).

Overrides the active IJsonConverter with a new custom implementation

Registers object Type transformation so build trimming will keep public properties.

public static ISetupSerializationBuilder RegisterObjectTransformation<T>(this ISetupSerializationBuilder setupBuilder, Func<T, object> transformer)

Registers object Type transformation from dangerous (massive) object to safe (reduced) object

public static ISetupSerializationBuilder RegisterObjectTransformation(this ISetupSerializationBuilder setupBuilder, Type objectType, Func<object, object> transformer)

Registers object Type transformation from dangerous (massive) object to safe (reduced) object

Overrides the active IValueFormatter with a new custom implementation

Overrides the active IValueFormatter to use legacy-mode string-quotes (Before NLog v6)