Log to stderr or stdout based on log level
QNX SDP8.0QNX Helpers Developer's GuideAPIDeveloper
These convenience flags combine a log level and the stdout
and stderr
destinations.
Description:
These flags indicate that an attempt should be made to output log messages with the specified log level to stderr or stdout. This action is often required when a process does something that should not go unnoticed at startup (e.g., it exits because of a critical error) and it is useful to output a log message to command line outputs.
Definitions:
#define QH_LOG_SHUTDOWN_CL
#define QH_LOG_CRITICAL_CL
#define QH_LOG_ERROR_CL
#define QH_LOG_WARNING_CL
#define QH_LOG_NOTICE_CL
#define QH_LOG_INFO_CL
Page updated: