log4net SDK Reference

DOMConfigurator.Configure Method (XmlElement)

NOTE: This method is now obsolete.

Use XmlConfigurator.Configure instead of DOMConfigurator.Configure


Configures log4net using a log4net element

[Visual Basic]
Overloads Public Shared Sub Configure( _
   ByVal element As XmlElement _
)
[C#]
public static void Configure(
   XmlElement element
);

Parameters

element
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

DOMConfigurator Class | log4net.Config Namespace | DOMConfigurator.Configure Overload List