CompactRepositorySelectorGetRepository Method (Assembly)Apache log4net™ SDK Documentation
Get the ILoggerRepository for the specified assembly

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public ILoggerRepository GetRepository(
	Assembly assembly
)

Parameters

assembly
Type: System.ReflectionAssembly
not used

Return Value

Type: ILoggerRepository
The default ILoggerRepository

Implements

IRepositorySelectorGetRepository(Assembly)
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

Reference