BufferingForwardingAppender RemoveAppender Method (IAppender) | Apache log4net™ SDK Documentation

Removes the specified appender from the list of appenders.

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

C#
VB
C++
F#
Copy

    public virtual IAppender RemoveAppender(
    	IAppender appender
    )

    Public Overridable Function RemoveAppender (
    	appender As IAppender
    ) As IAppender

    public:
    virtual IAppender^ RemoveAppender(
    	IAppender^ appender
    )

    abstract RemoveAppender :
            appender : IAppender -> IAppender
    override RemoveAppender :
            appender : IAppender -> IAppender

#### Parameters

appender
  Type: log4net.Appender
  IAppender
  The appender to remove.

#### Return Value

Type: IAppender
The appender removed from the list

#### Implements

IAppenderAttachable
RemoveAppender(IAppender)
Remarks

The appender removed is not closed. If you are discarding the appender you must call Close
on the appender removed.
See Also

#### Reference

BufferingForwardingAppender Class
RemoveAppender Overload
log4net.Appender Namespace