Formats and writes to a buffer the message resource identified by msgKey, and returns the length of the buffer required to hold the entire formatted message.
uint16_t log_get_rsrc_message_force(char * buffer, size_t * bufferLen, log_rb_id rsrc_id, const char * msgKey, va_list& args)
MSG10101=Invalid message.
A pointer to the second operand for the comparison.
uint16_t error_code
An error code or ERR_NONE (value 0).
When successful, bufferLen contains the number of bytes used in the buffer (return value less than or equal to input value). If the error code indicates that the buffer was too small to hold the formatted message, the value in bufferLen is the number of bytes required to format the message string, excluding the null terminator (return value greater than input value).