log4net SDK Reference |

# Logger.RemoveAppender Method (IAppender)

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

[Visual Basic]
Overridable Overloads Public Function RemoveAppender( _
ByVal appender As IAppender _
) As IAppender _
Implements IAppenderAttachable.RemoveAppender
[C#]
public virtual IAppender RemoveAppender(
IAppender appender
);

#### Parameters

appender
  The appender to remove

#### Return Value

The appender removed from the list

#### Implements

IAppenderAttachable.RemoveAppender

#### Remarks

Remove the 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