Returns the named logger if it exists.
Namespace: log4net.CoreAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- repositoryAssembly
- Type: System.Reflection Assembly
The assembly to use to lookup the repository.
- name
- Type: System String
The fully qualified logger name to look for.
Return Value
Type: ILoggerThe logger found, or null if the named logger does not exist in the specified assembly's repository.
Remarks
If the named logger exists (in the specified assembly's repository) then it returns a reference to the logger, otherwise it returns null.
See Also