Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0 |
|
Logger.AddAppender�Method�
Add newAppender to the list of appenders of this Logger instance.
[Visual�Basic]
Overridable�Public�Sub�AddAppender( _
���ByVal
newAppender�As�
IAppender�_
)�_
[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