Logger Parent Property | Apache log4net™ SDK Documentation

Gets or sets the parent logger in the hierarchy.

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 Logger Parent { get; set; }

    Public Overridable Property Parent As Logger
    	Get
    	Set

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

    abstract Parent : Logger with get, set
    override Parent : Logger with get, set

#### Property Value

Type: Logger
The parent logger in the hierarchy.
Remarks

Part of the Composite pattern that makes the hierarchy. The hierarchy is parent linked rather than child linked.

See Also

#### Reference

Logger Class
log4net.Repository.Hierarchy Namespace