Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LogManager.GetLogger�Method�(Assembly, Type)

Shorthand for GetLogger.

[Visual�Basic]
Overloads�Public�Shared�Function�GetLogger( _
���ByVal repositoryAssembly�As�Assembly,�_
���ByVal type�As�Type�_
)�As�ILog
[C#]
public�static�ILog�GetLogger(
���AssemblyrepositoryAssembly,
���Typetype
);

Parameters

repositoryAssembly
The assembly to use to lookup the repository.
type
The full name of type 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

LogManager Class | log4net Namespace | LogManager.GetLogger Overload List