C# Class log4net.Tests.Appender.StringAppender

Write events to a string
Inheritance: log4net.Appender.AppenderSkeleton
Mostra file Open project: aurora-sim/Aurora-Libs Class Usage Examples

Public Methods

Method Description
GetString ( ) : string

Get the string logged so far

Reset ( ) : void

Reset the string

StringAppender ( ) : System.Text

Initializes a new instance of the StringAppender class.

Protected Methods

Method Description
Append ( log4net.Core.LoggingEvent loggingEvent ) : void

Method Details

Append() protected method

protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent the event to log
return void

GetString() public method

Get the string logged so far
public GetString ( ) : string
return string

Reset() public method

Reset the string
public Reset ( ) : void
return void

StringAppender() public method

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