ForwardingAppenderRemoveAppender Method (String)Apache log4net™ SDK Documentation
Removes the appender with the specified name from the list of appenders.

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

public virtual IAppender RemoveAppender(
	string name
)

Parameters

name
Type: SystemString
The name of the appender to remove.

Return Value

Type: IAppender
The appender removed from the list

Implements

IAppenderAttachableRemoveAppender(String)
Remarks

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

Reference