log4net SDK Reference

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(
   string name
);

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