Click or drag to resize

SetupSerializationBuilderExtensions Methods

The SetupSerializationBuilderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberParseMessageTemplates
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).

Public methodStatic memberRegisterJsonConverter
Overrides the active IJsonConverter with a new custom implementation
Public methodStatic memberRegisterObjectTransformation(ISetupSerializationBuilder, Type, FuncObject, Object)
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
Public methodStatic memberRegisterObjectTransformationT(ISetupSerializationBuilder)
Registers object Type transformation so build trimming will keep public properties.
Public methodStatic memberRegisterObjectTransformationT(ISetupSerializationBuilder, FuncT, Object)
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
Public methodStatic memberRegisterValueFormatter
Overrides the active IValueFormatter with a new custom implementation
Public methodStatic memberRegisterValueFormatterWithStringQuotes
Overrides the active IValueFormatter to use legacy-mode string-quotes (Before NLog v6)
Top
See Also