Module: Threads Package: Execution Tracing
Global Macros
#include <rw/trace/userdefs.h>
Event generation macros come in two forms, one for use within the member functions of classes and the other for use within static member, global functions and friend functions. To distinguish between the two sets of macros, the names of the object form contain the word OBJECT.
Object trace macros. Embed these macros in member functions:
RW_USER_TRACE_OBJECT_FATAL(message)
RW_USER_TRACE_OBJECT_ERROR(message)
RW_USER_TRACE_OBJECT_WARNING(message)
RW_USER_TRACE_OBJECT_INFO(message)
RW_USER_TRACE_OBJECT_TEST(message)
RW_USER_TRACE_OBJECT_DEBUG(message)
Global trace macros. Embed these macros in static member functions, friend functions, or global functions:
RW_USER_TRACE_FATAL(message)
RW_USER_TRACE_ERROR(message)
RW_USER_TRACE_WARNING(message)
RW_USER_TRACE_INFO(message)
RW_USER_TRACE_TEST(message)
RW_USER_TRACE_DEBUG(message)
The message parameter is a string containing useful information about the application at that point in your code. For more information, see Section 6.5, "Using Event Generation Macros," in the Threads Module User's Guide
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.