Global Macros
None
#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.h++ User's Guide.)
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.