Click or drag to resize

SetupSerializationBuilderExtensions Class

Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration
Inheritance Hierarchy
SystemObject
  NLogSetupSerializationBuilderExtensions

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public static class SetupSerializationBuilderExtensions

The SetupSerializationBuilderExtensions type exposes the following members.

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

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, 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
Top
See Also