log4net SDK Reference

IAppenderAttachable.RemoveAppender Method (String)

Removes the appender with the specified name from the list of appenders.

[Visual Basic]
Function RemoveAppender( _
   ByVal name As String _
) As IAppender
[C#]
IAppender RemoveAppender(
   string name
);

Parameters

name
The name of the appender to remove.

Return Value

The appender removed from the list

Remarks

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

See Also

IAppenderAttachable Interface | log4net.Core Namespace | IAppenderAttachable.RemoveAppender Overload List