[This is preliminary documentation and subject to change.]
Gets the ILoggerRepository for the specified assembly.
The ILoggerRepository for the assembly
IRepositorySelector.GetRepository
The type of the ILoggerRepository created and the repository to create can be overridden by specifying the RepositoryAttribute attribute on the assembly.
The default values are to use the Hierarchy implementation of the ILoggerRepository interface and to use the Name as the name of the repository.
The ILoggerRepository created will be automatically configured using any ConfiguratorAttribute attributes defined on the assembly.
Exception Type | Condition |
---|---|
ArgumentNullException | assembly is a null reference (Nothing in Visual Basic). |
DefaultRepositorySelector Class | log4net.Core Namespace | DefaultRepositorySelector.GetRepository Overload List