Create a new repository for the assembly specified
Namespace: log4net.CoreAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- assembly
- Type: System.Reflection Assembly
not used
- repositoryType
- Type: System Type
the type of repository to create, must implement ILoggerRepository
Return Value
Type: ILoggerRepositorythe repository created
Implements
IRepositorySelector CreateRepository(Assembly, Type)Remarks
The assembly argument is not used. This selector does not create a separate repository for each assembly.
If the repositoryType is null then the default repository type specified to the constructor is used.
As a named repository is not specified the default repository is returned. The default repository is named log4net-default-repository.
See Also