Returns the named logger if it exists.
Namespace: log4netAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- repository
- Type: System String
The repository to lookup in.
- name
- Type: System String
The fully qualified logger name to look for.
Return Value
Type: ILogThe logger found, or null if the logger doesn't exist in the specified repository.
Remarks
If the named logger exists (in the specified repository) then it returns a reference to the logger, otherwise it returns null.
See Also