log4net SDK Reference

Hierarchy.GetAppenders Method 

Returns all the Appenders that are currently configured

[Visual Basic]
Overrides Public Function GetAppenders() As IAppender() _
    Implements ILoggerRepository.GetAppenders
[C#]
public override IAppender[] GetAppenders();

Return Value

An array containing all the currently configured appenders

Implements

ILoggerRepository.GetAppenders

Remarks

Returns all the IAppender instances that are currently configured. All the loggers are searched for appenders. The appenders may also be containers for appenders and these are also searched for additional loggers.

The list returned is unordered but does not contain duplicates.

See Also

Hierarchy Class | log4net.Repository.Hierarchy Namespace