Logger Hierarchy Property | Apache log4net™ SDK Documentation

Gets or sets the Hierarchy where this Logger instance is attached to.

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

C#
VB
C++
F#
Copy

    public virtual Hierarchy Hierarchy { get; set; }

    Public Overridable Property Hierarchy As Hierarchy
    	Get
    	Set

    public:
    virtual property Hierarchy^ Hierarchy {
    	Hierarchy^ get ();
    	void set (Hierarchy^ value);
    }

    abstract Hierarchy : Hierarchy with get, set
    override Hierarchy : Hierarchy with get, set

#### Property Value

Type: Hierarchy
The hierarchy that this logger belongs to.
Remarks

This logger must be attached to a single Hierarchy.

See Also

#### Reference

Logger Class
log4net.Repository.Hierarchy Namespace