C# Class NLog.Serialization.LogEventWriter

LogEvent XML writer
Exibir arquivo Open project: loresoft/NLog.Xml Class Usage Examples

Public Methods

Method Description
Write ( XmlWriter writer, LogEvent logEvent ) : void

Writes the specified logEvent to XML

Private Methods

Method Description
WriteError ( XmlWriter writer, Error error ) : void
WriteProperties ( XmlWriter writer, IEnumerable properties ) : void
WriteProperty ( XmlWriter writer, Property property ) : void

Method Details

Write() public method

Writes the specified logEvent to XML
public Write ( XmlWriter writer, LogEvent logEvent ) : void
writer System.Xml.XmlWriter The to write to
logEvent NLog.Model.LogEvent The log event to write
return void