Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LoggerRepositorySkeleton.Exists�Method�

Test if logger exists

[Visual�Basic]
MustOverride�Public�Function�Exists( _
���ByVal name�As�String�_
)�As�ILogger�_
����Implements�ILoggerRepository.Exists
[C#]
public�abstract�ILogger�Exists(
���stringname
);

Parameters

name
The name of the logger to lookup

Return Value

The Logger object with the name specified

Implements

ILoggerRepository.Exists

Remarks

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

See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace