Hierarchy GetAppenders Method Apache log4net™ SDK Documentation
Returns all the Appenders that are currently configured

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public override IAppender[] GetAppenders()

Return Value

Type:  IAppender 
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