Configures the ILoggerRepository using the specified configuration
URI.
Namespace: log4net.ConfigAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- repository
- Type: log4net.Repository ILoggerRepository
The repository to configure.
- configUri
- Type: System Uri
A URI to load the XML configuration from.
Return Value
Type: ICollection[Missing <returns> documentation for "M:log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository,System.Uri)"]
Remarks
The configuration data must be valid XML. It must contain at least one element called log4net that holds the configuration data.
The WebRequest must support the URI scheme specified.
See Also