Logger Appenders Property | Apache log4net™ SDK Documentation

Get the appenders contained in this logger as an ICollection.

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

C#
VB
C++
F#
Copy

    public virtual AppenderCollection Appenders { get; }

    Public Overridable ReadOnly Property Appenders As AppenderCollection
    	Get

    public:
    virtual property AppenderCollection^ Appenders {
    	AppenderCollection^ get ();
    }

    abstract Appenders : AppenderCollection with get
    override Appenders : AppenderCollection with get

#### Return Value

Type: AppenderCollection
A collection of the appenders in this logger

#### Implements

IAppenderAttachable
Appenders
Remarks

Get the appenders contained in this logger as an ICollection. If no appenders can be found, then a EmptyCollection is returned.

See Also

#### Reference

Logger Class
log4net.Repository.Hierarchy Namespace