XmlHierarchyConfigurator ParseLevel Method | Apache log4net™ SDK Documentation

Parses a level element.

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

C#
VB
C++
F#
Copy

    protected void ParseLevel(
    	XmlElement element,
    	Logger log,
    	bool isRoot
    )

    Protected Sub ParseLevel (
    	element As XmlElement,
    	log As Logger,
    	isRoot As Boolean
    )

    protected:
    void ParseLevel(
    	XmlElement^ element,
    	Logger^ log,
    	bool isRoot
    )

    member ParseLevel :
            element : XmlElement *
            log : Logger *
            isRoot : bool -> unit

#### Parameters

element
  Type: System.Xml
  XmlElement
  The level element.
log
  Type: log4net.Repository.Hierarchy
  Logger
  The logger object to set the level on.
isRoot
  Type: System
  Boolean
  Flag to indicate if the logger is the root logger.

Remarks

Parse an XML element that represents a level.

See Also

#### Reference

XmlHierarchyConfigurator Class
log4net.Repository.Hierarchy Namespace