Create a new Logger instance
Namespace: log4net.Repository.HierarchyAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- repository
- Type: log4net.Repository ILoggerRepository
The ILoggerRepository that will own the Logger.
- name
- Type: System String
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