Return a new logger instance
Namespace: log4net.RepositoryAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- name
- Type: System String
The name of the logger to retrieve
Return Value
Type: ILoggerThe logger object with the name specified
Implements
ILoggerRepository GetLogger(String)Remarks
Return a new logger instance.
If a logger of that name already exists, then it will be returned. Otherwise, a new logger will be instantiated and then linked with its existing ancestors as well as children.
See Also