2 // System.Diagnostics.TraceSwtich.cs
4 // Comments from John R. Hicks <angryjohn69@nc.rr.com> original implementation
5 // can be found at: /mcs/docs/apidocs/xml/en/System.Diagnostics
8 // John R. Hicks (angryjohn69@nc.rr.com)
13 namespace System.Diagnostics
15 public class TraceSwitch : Switch
17 private TraceLevel level;
18 private bool traceError = false;
19 private bool traceInfo = false;
20 private bool traceVerbose = false;
21 private bool traceWarning = false;
23 public TraceSwitch(string displayName, string description)
24 : base(displayName, description)
28 public TraceLevel Level
41 public bool TraceError
57 public bool TraceVerbose
65 public bool TraceWarning