Convenience function.
#include "am_log.h"
AM_EXPORT am_status_t
am_log_record_set_log_message(am_log_record_t record,
const char *message);
This function takes the following parameters:
Opaque handle to the log record.
The message to set in the log record.
This function returns am_status_t with one of the following values:
If the message was successfully added to the log record.
If any error occurs, the type of error indicated by the status value.