log4net SDK Reference

Logger.AddAppender Method 

Add newAppender to the list of appenders of this Logger instance.

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

Parameters

newAppender
An appender to add to this logger

Implements

IAppenderAttachable.AddAppender

Remarks

Add newAppender to the list of appenders of this Logger instance.

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

See Also

Logger Class | log4net.Repository.Hierarchy Namespace