Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

CompactRepositorySelector.GetRepository�Method�(Assembly)

Get the ILoggerRepository for the specified assembly

[Visual�Basic]
NotOverridable�Overloads�Public�Function�GetRepository( _
���ByVal assembly�As�Assembly�_
)�As�ILoggerRepository�_
����Implements�IRepositorySelector.GetRepository
[C#]
public�ILoggerRepository�GetRepository(
���Assemblyassembly
);

Parameters

assembly
not used

Return Value

The default ILoggerRepository

Implements

IRepositorySelector.GetRepository

Remarks

The assembly argument is not used. This selector does not create a separate repository for each assembly.

As a named repository is not specified the default repository is returned. The default repository is named log4net-default-repository.

See Also

CompactRepositorySelector Class | log4net.Core Namespace | CompactRepositorySelector.GetRepository Overload List