Flushes all the log records in the log buffer.
#include "am_log.h" AM_EXPORT am_status_t am_log_flush_remote_log();
This function takes no parameters:
This function returns am_status_t with one of the following values:
If Flush to remote log was successful.
If any error occurs, the type of error indicated by the status value.