C# Class SampleAppendersApp.Appender.AsyncAppender

Appender that forwards LoggingEvents asynchronously
This appender forwards LoggingEvents to a list of attached appenders. The events are forwarded asynchronously using the ThreadPool. This allows the calling thread to be released quickly, however it does not guarantee the ordering of events delivered to the attached appenders.
Inheritance: IAppender, IBulkAppender, IOptionHandler, IAppenderAttachable
Afficher le fichier Open project: aurora-sim/Aurora-Libs

Méthodes publiques

Méthode Description
ActivateOptions ( ) : void
AddAppender ( IAppender newAppender ) : void
Close ( ) : void
DoAppend ( log4net.Core.LoggingEvent loggingEvent ) : void
GetAppender ( string name ) : IAppender
RemoveAllAppenders ( ) : void
RemoveAppender ( IAppender appender ) : IAppender
RemoveAppender ( string name ) : IAppender

Private Methods

Méthode Description
AsyncAppend ( object state ) : void

Method Details

ActivateOptions() public méthode

public ActivateOptions ( ) : void
Résultat void

AddAppender() public méthode

public AddAppender ( IAppender newAppender ) : void
newAppender IAppender
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

DoAppend() public méthode

public DoAppend ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent
Résultat void

GetAppender() public méthode

public GetAppender ( string name ) : IAppender
name string
Résultat IAppender

RemoveAllAppenders() public méthode

public RemoveAllAppenders ( ) : void
Résultat void

RemoveAppender() public méthode

public RemoveAppender ( IAppender appender ) : IAppender
appender IAppender
Résultat IAppender

RemoveAppender() public méthode

public RemoveAppender ( string name ) : IAppender
name string
Résultat IAppender