log4net SDK Reference

IAppenderAttachable.GetAppender Method 

Gets an attached appender with the specified name.

[Visual Basic]
Function GetAppender( _
   ByVal name As String _
) As IAppender
[C#]
IAppender GetAppender(
   string name
);

Parameters

name
The name of the appender to get.

Return Value

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

IAppenderAttachable Interface | log4net.Core Namespace