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. Set the filter value 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
-
uint16_t level –
For this method, the log level appears in the log file only as informational, as the message is always written into the
log file.
-
unit16_t err_num
–
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).