Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ForwardingAppender.AddAppender�Method�

Adds an IAppender to the list of appenders of this instance.

[Visual�Basic]
Overridable�Public�Sub�AddAppender( _
���ByVal newAppender�As�IAppender�_
)�_
����Implements�IAppenderAttachable.AddAppender
[C#]
public�virtual�void�AddAppender(
���IAppendernewAppender
);

Parameters

newAppender
The IAppender to add to this appender.

Implements

IAppenderAttachable.AddAppender

Remarks

If the specified IAppender is already in the list of appenders, then it won't be added again.

See Also

ForwardingAppender Class | log4net.Appender Namespace