◆ TraceInjectMessage()

virtual void TraceInjectMessage ( RSITrace  traceLevel,
const char *  message 
pure virtual

Add a message to the Trace Log.

ℹ This function is avaliable in RapidCode and RapidSequencer

TraceInjectMessage will put whatever message you created at whatever level you specific in the log.
Sample Code:
axis->TraceInjectMessage(RSITraceCUSTOM, "Starting Process Alpha"); //Can be used as a sort aid.
You should pretty much always use RSITraceCUSTOM as the traceLevel.
See also
TraceFileSet, Trace, TraceMaskOnSet, TraceMaskOnGet, TraceMaskOffSet