Assembly: log4net (in log4net.dll) Version: 126.96.36.199-.NET 4.0
public abstract ILogger GetLogger( string name )
Public MustOverride Function GetLogger ( name As String ) As ILogger
public: virtual ILogger^ GetLogger( String^ name ) abstract
abstract GetLogger : name : string -> ILogger
- Type: SystemString
The name of the logger to retrieve
Return ValueType: ILogger
The logger object with the name specified
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.