log4net SDK Reference

Logger.Parent Property

Gets or sets the parent logger in the hierarchy.

[Visual Basic]
Overridable Public Property Parent As Logger
[C#]
public virtual Logger Parent {get; set;}

Property Value

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

Logger Class | log4net.Repository.Hierarchy Namespace