Configures the ILoggerRepository for the specified assembly.
Configure the repository using the XmlConfigurator. The targetRepository specified must extend the Hierarchy class otherwise the XmlConfigurator will not be able to configure it.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | The targetRepository does not extend Hierarchy. |
XmlConfiguratorAttribute Class | log4net.Config Namespace