DataBlade API Programmer's Manual
Chapter 10: Tracing
Home
Contents
Index
Master Index
New Book
Turning Tracing On
The
mi_tracelevel_set()
function sets the current trace level for one or more trace classes. You can reset this level as often as necessary during testing. Once set, tracing persists throughout the session.
By default, tracing is off; that is, the current trace level is set to zero for all trace classes.
The following example sets the example tracing scheme for
funcEntry
to a medium level and enables consistency checking with class
chk_consist
:
mi_integer status;
status = mi_tracelevel_set("chk_consist 1000 funcEntry 14");
The maximum number of trace levels is the largest non-negative integer representable on the platform.
For more information on
mi_tracelevel_set()
, see the description of this function in
Chapter 12
.
DataBlade API Programmer's Manual
, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.