Performing a Trace
The purpose of DTM Logger is to log messages from your test application to various logging devices. A trace is a log entry.
The following attributes are associated with a trace:
- Run-time information (RTI) is information about who generated the trace.
- Trace context is information about the logical environment of the trace. For more information about defining a trace context, see Trace Context.
- Trace level defines the purpose or type of the trace. For more information about available trace levels, see Trace Level.
- Trace priority determines the relative importance of the trace. For more information about available trace priorities, see Trace Priority.
- Trace message defines the message to be logged. For more information about trace message limitations, see Trace Message.
To perform a trace by using C
To perform a trace by using C++
Call one of the following methods:
To perform a trace by using COM
To perform a trace by using .NET
- Create the appropriate trace level object. For more information about creating .NET trace level objects, see Trace Level.
- Call the WTTLogger.Trace method passing the trace level object.
This section includes:
Send feedback on this topic
Built on December 10, 2009