Table of Contents

Class LogNode

Namespace
Aplib.Core.Logging
Assembly
Aplib.Core.dll

Represents a node in the log tree.

public class LogNode
Inheritance
LogNode
Inherited Members

Constructors

LogNode(ILoggable, int)

public LogNode(ILoggable loggable, int depth)

Parameters

loggable ILoggable
depth int

LogNode(ILoggable, int, List<LogNode>)

Initialize a new LogNode from a given loggable object, the depth, and optionally a list of children.

public LogNode(ILoggable loggable, int depth, List<LogNode> children)

Parameters

loggable ILoggable

The loggable object of the node.

depth int

The depth at which this node resides.

children List<LogNode>

The children of the node. It is assumed the children have a correct depth set. If omitted, an empty list will be used.

Properties

Children

The children of the node.

public List<LogNode> Children { get; }

Property Value

List<LogNode>

Depth

The depth at which this node resides.

public int Depth { get; }

Property Value

int

Loggable

The loggable object of the node.

public ILoggable Loggable { get; }

Property Value

ILoggable