log_message_force

The log_message_force method writes the logging message and level into the log file.

This method forces the message into the log file regardless of the filter value of the log level. The filter value can be set in the configuration file (RAP) or explicitly set by calling log_open() on the feed handler side.

Syntax

uint16_t log_message_force( uint16_t level, uint16_t err_num, const char * message );

Parameters

log level: error number.

For this method, the log level is used primarily as informational display in the log file as the message is always written into the log file.

err_number

Error number.

char * message

The message to be written out to the log.

Returns

uint16_t error code (an error code) or ERR_NONE (value 0).


Created March 26, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com