Initializes a new instance of
the StructuredTrace class.
Namespace: CleanCode.DiagnosticsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public StructuredTrace( BooleanSwitch messagesEnabledSwitch, string className )
Parameters
- messagesEnabledSwitch
- Type:
System.Diagnostics BooleanSwitch
Flag indicating whether to output debug lines or not.
- className
- Type:
System String
Name of the class using this BooleanSwitch.
Exceptions
| Exception | Condition |
|---|---|
| if messagesEnabledSwitch is null |
Remarks
See Also