IAppenderAttachable GetAppender Method | Apache log4net™ SDK Documentation

Gets an attached appender with the specified name.

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

C#
VB
C++
F#
Copy

    IAppender GetAppender(
    	string name
    )

    Function GetAppender (
    	name As String
    ) As IAppender

    IAppender^ GetAppender(
    	String^ name
    )

    abstract GetAppender :
            name : string -> IAppender

#### Parameters

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

#### Return Value

Type: IAppender
The appender with the name specified, or null if no appender with the specified name is found.
Remarks

Returns an attached appender with the name specified. If no appender with the specified name is found null will be returned.

See Also

#### Reference

IAppenderAttachable Interface
log4net.Core Namespace