BufferingForwardingAppender GetAppender Method | Apache log4net™ SDK Documentation

Looks for the appender with the specified name.

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

C#
VB
C++
F#
Copy

    public virtual IAppender GetAppender(
    	string name
    )

    Public Overridable Function GetAppender (
    	name As String
    ) As IAppender

    public:
    virtual IAppender^ GetAppender(
    	String^ name
    )

    abstract GetAppender :
            name : string -> IAppender
    override GetAppender :
            name : string -> IAppender

#### Parameters

name
  Type: System
  String
  The name of the appender to lookup.

#### Return Value

Type: IAppender
The appender with the specified name, or null.

#### Implements

IAppenderAttachable
GetAppender(String)
Remarks

Get the named appender attached to this buffering appender.

See Also

#### Reference

BufferingForwardingAppender Class
log4net.Appender Namespace