SetupSerializationBuilderExtensions Methods |
The SetupSerializationBuilderExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| ParseMessageTemplates |
Enable/disables the NLog Message Template Parsing:
- = Always use NLog mesage-template-parser and formatting. - = Never use NLog-parser and only use string.Format (Disable support for message-template-syntax). - = Auto detection of message-template-syntax, with fallback to string.Format (Default Behavior). | |
| RegisterJsonConverter |
Overrides the active IJsonConverter with a new custom implementation
| |
| RegisterObjectTransformation(ISetupSerializationBuilder, Type, FuncObject, Object) |
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
| |
| RegisterObjectTransformationT(ISetupSerializationBuilder) |
Registers object Type transformation so build trimming will keep public properties.
| |
| RegisterObjectTransformationT(ISetupSerializationBuilder, FuncT, Object) |
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
| |
| RegisterValueFormatter |
Overrides the active IValueFormatter with a new custom implementation
| |
| RegisterValueFormatterWithStringQuotes |
Overrides the active IValueFormatter to use legacy-mode string-quotes (Before NLog v6)
|