Skip to content

f254f5b6 7f01 bc9d 93ab a14e341364b3

Axel Kesseler edited this page Mar 1, 2023 · 3 revisions

XmlFormatter Constructor

The parameterized constructor just initializes all properties.

Namespace: Plexdata.LogWriter.Internals.Formatters
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public XmlFormatter(
	ILoggerSettings settings
)

Parameters

 

settings
Type: Plexdata.LogWriter.Abstraction.ILoggerSettings
The settings to be used for data formatting.

Exceptions

 

Exception Condition
NotSupportedException This exception is thrown if the logging type within provided settings is not set to Xml.

Remarks

Formatting data depends on some logger settings. Therefore, consumers of this class must provide an instance of ILoggerSettings.

See Also

Reference

XmlFormatter Class
Plexdata.LogWriter.Internals.Formatters Namespace
FormatterBase.FormatterBase(ILoggerSettings)

Clone this wiki locally