XmlConfigurator Configure Method (XmlElement) | Apache log4net™ SDK Documentation

Configures log4net using a log4net element

Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static ICollection Configure(
    	XmlElement element
    )

    Public Shared Function Configure (
    	element As XmlElement
    ) As ICollection

    public:
    static ICollection^ Configure(
    	XmlElement^ element
    )

    static member Configure :
            element : XmlElement -> ICollection

#### Parameters

element
  Type: System.Xml
  XmlElement
  The element to parse.

#### Return Value

Type: ICollection

[Missing <returns> documentation for "M:log4net.Config.XmlConfigurator.Configure(System.Xml.XmlElement)"]

Remarks

Loads the log4net configuration from the XML element supplied as element.

See Also

#### Reference

XmlConfigurator Class
Configure Overload
log4net.Config Namespace