Create a new repository selector
Namespace: log4net.CoreAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- defaultRepositoryType
- Type: System Type
the type of the repositories to create, must implement ILoggerRepository
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | throw if defaultRepositoryType is null |
System ArgumentOutOfRangeException | throw if defaultRepositoryType does not implement ILoggerRepository |
Remarks
Create an new compact repository selector. The default type for repositories must be specified, an appropriate value would be Hierarchy.
See Also