Returns the named logger if it exists.
Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- name
- Type: SystemString
The fully qualified logger name to look for.
Return Value
Type: ILogThe logger found, or null if no logger could be found.
Remarks
If the named logger exists (in the default repository) then it returns a reference to the logger, otherwise it returns null.
See Also