Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0 |
|
ILoggerFactory.CreateLogger�Method�
Create a new Logger instance
[Visual�Basic]
Function�CreateLogger( _
���ByVal
repository�As�
ILoggerRepository,�_
���ByVal
name�As�
String�_
)�As�
Logger
Parameters
-
repository
- The ILoggerRepository that will own the Logger.
-
name
- The name of the Logger.
Return Value
The Logger instance for the specified name.
Remarks
Create a new Logger instance with the specified name.
Called by the Hierarchy to create new named Logger instances.
If the name is null
then the root logger must be returned.
See Also
ILoggerFactory Interface | log4net.Repository.Hierarchy Namespace