Table of Contents

Class XmlLogFormatter

Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.Formatters
Assembly
Microsoft.Practices.EnterpriseLibrary.Logging.dll

Formats a LogEntry and any subclass of it to an XML string representation.

public class XmlLogFormatter : LogFormatter, ILogFormatter
Inheritance
XmlLogFormatter
Implements
Inherited Members

Constructors

XmlLogFormatter()

public XmlLogFormatter()

Methods

Format(LogEntry)

Formats the LogEntry into an XML String representation.

public override string Format(LogEntry log)

Parameters

log LogEntry

A LogEntry or any sub class of it

Returns

string