Removes the appender with the specified name from the list of appenders.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public virtual IAppender RemoveAppender(
string name
)
public virtual IAppender RemoveAppender(
string name
)
Public Overridable Function RemoveAppender (
name As String
) As IAppender
Public Overridable Function RemoveAppender (
name As String
) As IAppender
public:
virtual IAppender^ RemoveAppender(
String^ name
)
public:
virtual IAppender^ RemoveAppender(
String^ name
)
Parameters
- name
- Type: System String
The name of the appender to remove.
Return Value
Type:
IAppenderThe appender removed from the list
Implements
IAppenderAttachable RemoveAppender(String)
The appender removed is not closed.
If you are discarding the appender you must call
Close on the appender removed.