public TraceBuilder() { _root = new RootEntry(); _traceStack = new Stack <TraceEntry>(); _traceStack.Push(_root); IsEnabled = false; }
public void BeginEntry(TraceEntry entry) { if (IsEnabled) { Current.Children.Add(entry); _traceStack.Push(entry); } }
private static void BeginEntry(TraceEntry entry) { _builder.BeginEntry(entry); }