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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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