C# Class NLog.Targets.LimitedMemoryTarget

Inheritance: NLog.Targets.TargetWithLayout
Show file Open project: loresoft/NLog.Xml

Private Properties

Property Type Description

Public Methods

Method Description
LimitedMemoryTarget ( ) : System

Initializes a new instance of the LimitedMemoryTarget class.

The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}

Protected Methods

Method Description
Write ( LogEventInfo logEvent ) : void

Renders the logging event message and adds it to the internal ArrayList of log messages.

Method Details

LimitedMemoryTarget() public method

Initializes a new instance of the LimitedMemoryTarget class.
The default value of the layout is: ${longdate}|${level:uppercase=true}|${logger}|${message}
public LimitedMemoryTarget ( ) : System
return System

Write() protected method

Renders the logging event message and adds it to the internal ArrayList of log messages.
protected Write ( LogEventInfo logEvent ) : void
logEvent LogEventInfo The logging event.
return void