Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0 |
|
LoggerManager.Exists�Method�(Assembly, String)
Returns the named logger if it exists.
[Visual�Basic]
Overloads�Public�Shared�Function�Exists( _
���ByVal
repositoryAssembly�As�
Assembly,�_
���ByVal
name�As�
String�_
)�As�
ILogger
Parameters
-
repositoryAssembly
- The assembly to use to lookup the repository.
-
name
- The fully qualified logger name to look for.
Return Value
The 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
LoggerManager Class | log4net.Core Namespace | LoggerManager.Exists Overload List