Provides methods for controlling trace in IBM.CTG.Client.dll.
Namespace:
IBM.CTGAssembly: IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static class Trace |
Visual Basic |
---|
Public NotInheritable Class Trace |
Visual C++ |
---|
public ref class Trace abstract sealed |
Remarks
Trace in IBM.CTG.Client.dll can be enabled using an application or web configuration file, or programmatically using the Trace class.
Enabling trace using an application or web configuration file
Trace can be enabled using the CtgTrace trace switch in an application configuration file. The switch allows the trace level to be specified as a CICS TG TraceLevel value, a .NET Framework TraceLevel value, or an integer between 0 and 4 inclusive. The switch also supports optional attributes dataDumpLength and dataDumpOffset, which control the maximum amount of data written and the starting offset into the data for trace points written at CtgTrcLevel4.Enabling trace programmatically using the Trace class
The Trace class provides the following members for controlling trace:
Inheritance Hierarchy
Thread Safety
Members of this type are thread safe.