log4net SDK Reference |

# Logger.RemoveAppender Method (String)

Remove the appender passed as parameter form the list of appenders.

[Visual Basic]
Overridable Overloads Public Function RemoveAppender( _
ByVal name As String _
) As IAppender _
Implements IAppenderAttachable.RemoveAppender
[C#]
public virtual 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

Remove the named appender passed as parameter form the list of appenders. The appender removed is not closed. If you are discarding the appender you must call Close on the appender removed.

#### See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.RemoveAppender Overload List