StructuredTrace Constructor (BooleanSwitch)CleanCode C# Libraries v1.2.03 API
Initializes a new instance of the StructuredTrace class.

Namespace: CleanCode.Diagnostics
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public StructuredTrace(
	BooleanSwitch messagesEnabledSwitch
)

Parameters

messagesEnabledSwitch
Type: OnlineSystem.Diagnostics BooleanSwitch
Flag indicating whether to output debug lines or not.
Exceptions

Remarks

This constructor does not include a className, so the log field reserved for the className will be filled with spaces for reach log line.
See Also