INFORMIX
DataBlade API Programmer's Manual
Chapter 10: Tracing
Home Contents Index Master Index New Book

Using the Built-in Trace Class

DataBlade API provides a built-in trace class: __myErrors__. You do not have to initialize __myErrors__, and it does not appear in the systraceclasses table.

The trace class __myErrors__ writes out the full text of server errors and warnings as they occur.

You can set the trace level of __myErrors__ with mi_tracelevel_set(), just as with any other trace class. Use a level of 10 or above to trace error messages and a level of 20 or above to trace both error and warning messages.




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.