5 public class Tracer
: TraceListenerBase
, TraceListener
7 protected string indentString
= "";
8 // TBD: should be StringBuffer
11 protected internal virtual void dedent()
13 if (indentString
.Length
< 2)
16 indentString
= indentString
.Substring(2);
18 public override void enterRule(object source
, TraceEventArgs e
)
20 System
.Console
.Out
.WriteLine(indentString
+ e
);
23 public override void exitRule(object source
, TraceEventArgs e
)
26 System
.Console
.Out
.WriteLine(indentString
+ e
);
28 protected internal virtual void indent()