AppenderAttachedImpl.RemoveAppender Method (String)Apache log4netâ„¢ SDK Documentation
Removes the appender with the specified name from the list of appenders.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public IAppender RemoveAppender(
	string name
)

Parameters

name
Type: System.String
The name of the appender to remove.

Return Value

Type: IAppender
The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender(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