Create a new Logger instance
Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- repository
- Type: log4net.RepositoryILoggerRepository
The ILoggerRepository that will own the Logger. - name
- Type: SystemString
The name of the Logger.
Return Value
Type: LoggerThe 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