Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LoggerManager.GetLogger�Method�(String, Type)

Shorthand for GetLogger.

[Visual�Basic]
Overloads�Public�Shared�Function�GetLogger( _
���ByVal repository�As�String,�_
���ByVal type�As�Type�_
)�As�ILogger
[C#]
public�static�ILogger�GetLogger(
���stringrepository,
���Typetype
);

Parameters

repository
The repository to lookup in.
type
The type of which the fullname will be used as the name of the logger to retrieve.

Return Value

The logger with the name specified.

Remarks

Gets the logger for the fully qualified name of the type specified.

See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetLogger Overload List