Class LogNode
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
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
loggableILoggableThe loggable object of the node.
depthintThe depth at which this node resides.
childrenList<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
Depth
The depth at which this node resides.
public int Depth { get; }
Property Value
Loggable
The loggable object of the node.
public ILoggable Loggable { get; }