Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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(
���XmlElementelement
);

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