Note: This API is now obsolete.
Configures the ILoggerRepository using the specified XML
element.
Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
[ObsoleteAttribute("Use XmlConfigurator.Configure instead of DOMConfigurator.Configure")] public static void Configure( ILoggerRepository repository, XmlElement element )
Parameters
- repository
- Type: log4net.RepositoryILoggerRepository
The repository to configure. - element
- Type: System.XmlXmlElement
The element to parse.
Remarks
DOMConfigurator is obsolete. Use XmlConfigurator instead of DOMConfigurator.
Loads the log4net configuration from the XML element supplied as element.See Also