Writes a trace
message for the connector.
- Note:
- For most trace messages, you can simply use the
traceWrite() utility methods provided in the
GenGlobals and BOHandlerCPP classes.
Syntax
void write(int traceLevel, char * info);
void write(int traceLevel, char * info,
char * filterName);
Parameters
- traceLevel [in]
- Is one of the following tracing levels, to use for writing the
message:
Tracing::LEVEL1
Tracing::LEVEL2
Tracing::LEVEL3
Tracing::LEVEL4
Tracing::LEVEL5
- Note:
- Do not specify a trace level of zero (LEVEL0) with a
tracing message. A trace level of zero indicates that tracing is
turned off. Therefore, any trace message associated with a
traceLevel of LEVEL0 will never
print.
- info [in]
- Is a character string that contains the text of the tracing
message.
- filterName [in]
- Is the name of a tracing filter.
Return values
None.
Examples
write(Tracing::LEVEL4, "Connector failed to initialize.", NULL);
See also
See also the description of the traceWrite() method
under the BOHandlerCPP and GenGlobals classes.
