log_rsrc_message_force

Writes the logging message identified by the msgKey key at the specified level into the log file, regardless of the filter value of the log level. The msgKey key resides within the resource bundle specified by the rsrc_id parameter.

The filter value of the log level determines what level of logging occurs, if any. You can set the filter value in the configuration file or by calling log_rsrc_message_force() orlog_open() on the feed handler side. If the filter is set to exclude logging, this method overrides the filter and forces the messages into the log.

Syntax

uint16_t log_rsrc_message_force( const uint16_t level, const uint16_t err_num, log_rb_id rsrc_id, const char * msgKey, va_list& args)

Parameters

Returns

uint16_t error_code

An error code or ERR_NONE (value 0).