TIBCO Adapter SDK C++ Reference
MTrace::debug
MTrace
Send a message to the debug role.

A message description is substituted at runtime. For example, if the error message is "DB insert failed for table %1", call debug() like this:

   MString sTableName( "FOOBAR" ); 
   pTrace->debug( "DB insert failed for table %1", 
      NULL, NULL, sTableName ); 
Parameters
Parameters Description
MString const & customRole The role to which messages go.
MString const & message Message to be sent.
MTrackingInfo const * pTrackingInfo If this argument value is NULL, it is ignored. The information contained in the MTrackingInfo instance identified by this argument is traced to the relevant sinks. For further information on message format, see "Trace Message Format" in TIBCO Adapter SDK Programmer's Guide.
MData const * pData This argument is ignored. It's reserved for a future implementation.
MString const & subArgString1 Substitutes on %1 value contained in the message description.
Declaration
virtual void debug(MString const & customRole, MString const & message, MTrackingInfo const * pTrackingInfo, MData const * pData, MString const & subArgString1);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.