TIBCO Adapter SDK C++ Reference
|
This method allows message substitution 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 | Description |
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. |
MString const & subArgString2 | Substitutes on %2 value contained in the message description. |
MString const & subArgString3 | Substitutes on %3 value contained in the message description. |
MString const & subArgString4 | Substitutes on %4 value contained in the message description. |
MString const & subArgString5 | Substitutes on %5 value contained in the message description. |
MString const & subArgString6 | Substitutes on %6 value contained in the message description. |