Click or drag to resize

ISetupSerializationBuilder Interface

Interface for fluent setup of LogFactory options for logevent serialization

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public interface ISetupSerializationBuilder

The ISetupSerializationBuilder type exposes the following members.

Properties
  NameDescription
Public propertyLogFactory
LogFactory under configuration
Top
Extension Methods
  NameDescription
Public Extension MethodParseMessageTemplates
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).

(Defined by SetupSerializationBuilderExtensions.)
Public Extension MethodRegisterJsonConverter
Overrides the active IJsonConverter with a new custom implementation
(Defined by SetupSerializationBuilderExtensions.)
Public Extension MethodRegisterObjectTransformation(Type, FuncObject, Object)Overloaded.
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
(Defined by SetupSerializationBuilderExtensions.)
Public Extension MethodRegisterObjectTransformationT(FuncT, Object)Overloaded.
Registers object Type transformation from dangerous (massive) object to safe (reduced) object
(Defined by SetupSerializationBuilderExtensions.)
Public Extension MethodRegisterValueFormatter
Overrides the active IValueFormatter with a new custom implementation
(Defined by SetupSerializationBuilderExtensions.)
Top
See Also