C# Class log4net.Tests.Appender.StringAppender

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Append ( log4net.Core.LoggingEvent loggingEvent ) : void

Method Details

Append() protected méthode

protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent the event to log
Résultat void

GetString() public méthode

Get the string logged so far
public GetString ( ) : string
Résultat string

Reset() public méthode

Reset the string
public Reset ( ) : void
Résultat void

StringAppender() public méthode

Initializes a new instance of the StringAppender class.
public StringAppender ( ) : System.Text
Résultat System.Text