Log message output

QNX SDP8.0QNX Helpers Developer's GuideAPIDeveloper

Optional flags used in a qh_log_*() call that modify the log message output.

Definitions:

#define QH_LOG_OPTION_TID 

Add the thread ID to the end of the log message in square brackets.

For example, if the thread ID is 3345, [3345] is added.

#define QH_LOG_OPTION_NOTID 

Exclude the thread ID from the log message.

#define QH_LOG_OPTION_LOC 

Add location information to the log message.

#define QH_LOG_OPTION_NOLOC 

Exclude location information from the log message.

#define QH_LOG_OPTION_PREFIX 

Include the context name in the log message.

Each log line is prefixed with the context name followed by a colon and a space, and then the log message. (This is the default behavior.)

#define QH_LOG_OPTION_NOPREFIX 

Exclude the context name from the log message.

Page updated: