IAppenderAttachable AddAppender Method | Apache log4net™ SDK Documentation

Attaches an appender.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    void AddAppender(
    	IAppender appender
    )

    Sub AddAppender (
    	appender As IAppender
    )

    void AddAppender(
    	IAppender^ appender
    )

    abstract AddAppender :
            appender : IAppender -> unit

#### Parameters

appender
  Type: log4net.Appender
  IAppender
  The appender to add.

Remarks

Add the specified appender. The implementation may choose to allow or deny duplicate appenders.

See Also

#### Reference

IAppenderAttachable Interface
log4net.Core Namespace