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.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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