Hierarchy Exists Method Apache log4net™ SDK Documentation
Test if a logger exists

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public override ILogger Exists(
	string name
)

Return Value

Type: ILogger
The Logger object with the name specified

Implements

ILoggerRepository Exists(String)
Remarks

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

See Also