C# Class NLog.LayoutRenderers.Log4JXmlEventLayoutRenderer

Inheritance: LayoutRenderer
Show file Open project: NLog/NLog

Private Properties

Property Type Description
AppendToStringBuilder void

Public Methods

Method Description
Log4JXmlEventLayoutRenderer ( ) : System

Initializes a new instance of the Log4JXmlEventLayoutRenderer class.

Log4JXmlEventLayoutRenderer ( IAppDomain appDomain ) : System

Initializes a new instance of the Log4JXmlEventLayoutRenderer class.

Protected Methods

Method Description
Append ( StringBuilder builder, LogEventInfo logEvent ) : void

Renders the XML logging event and appends it to the specified StringBuilder.

Private Methods

Method Description
AppendToStringBuilder ( StringBuilder sb, LogEventInfo logEvent ) : void

Method Details

Append() protected method

Renders the XML logging event and appends it to the specified StringBuilder.
protected Append ( StringBuilder builder, LogEventInfo logEvent ) : void
builder StringBuilder The to append the rendered data to.
logEvent LogEventInfo Logging event.
return void

Log4JXmlEventLayoutRenderer() public method

Initializes a new instance of the Log4JXmlEventLayoutRenderer class.
public Log4JXmlEventLayoutRenderer ( ) : System
return System

Log4JXmlEventLayoutRenderer() public method

Initializes a new instance of the Log4JXmlEventLayoutRenderer class.
public Log4JXmlEventLayoutRenderer ( IAppDomain appDomain ) : System
appDomain IAppDomain
return System