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

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public override IAppender[] GetAppenders()

Return Value

Type: IAppender
An array containing all the currently configured appenders

Implements

ILoggerRepositoryGetAppenders
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

Reference