log4net SDK Reference

AppenderAttachedImpl.RemoveAppender Method (String)

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

[Visual Basic]
NotOverridable Overloads Public Function RemoveAppender( _
   ByVal name As String _
) As IAppender _
    Implements IAppenderAttachable.RemoveAppender
[C#]
public IAppender RemoveAppender(
   string name
);

Parameters

name
The name of the appender to remove.

Return Value

The appender removed from the list

Implements

IAppenderAttachable.RemoveAppender

Remarks

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

See Also

AppenderAttachedImpl Class | log4net.Util Namespace | AppenderAttachedImpl.RemoveAppender Overload List