Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ILoggerRepository.Exists�Method�

Check if the named logger exists in the repository. If so return its reference, otherwise returns null.

[Visual�Basic]
Function�Exists( _
���ByVal name�As�String�_
)�As�ILogger
[C#]
ILogger�Exists(
���stringname
);

Parameters

name
The name of the logger to lookup

Return Value

The Logger object with the name specified

Remarks

If the names logger exists it is returned, otherwise null is returned.

See Also

ILoggerRepository Interface | log4net.Repository Namespace