IAppenderAttachable Interface | Apache log4net™ SDK Documentation

Interface for attaching appenders to objects.

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

C#
VB
C++
F#
Copy

    public interface IAppenderAttachable

    Public Interface IAppenderAttachable

    public interface class IAppenderAttachable

    type IAppenderAttachable =  interface end

The IAppenderAttachable type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Appenders | Gets all attached appenders.

Top
Methods

| Name | Description
--- | --- | ---
| AddAppender | Attaches an appender.
| GetAppender | Gets an attached appender with the specified name.
| RemoveAllAppenders | Removes all attached appenders.
| RemoveAppender(String) | Removes the appender with the specified name from the list of appenders.
| RemoveAppender(IAppender) | Removes the specified appender from the list of attached appenders.

Top
Remarks

Interface for attaching, removing and retrieving appenders.

See Also

#### Reference

log4net.Core Namespace