Sets the name of the file to use for logging.
#include "am_log.h" AM_EXPORT am_status_t am_log_set_log_file(const char *name);
This function takes the following parameter:
Name of the file in which to record logging messages.
This function returns am_status_twith one of the following values:
If the logging file could be set
If unable to allocate memory for internal data structures
If any other error is detected
If the specified name is NULL or empty, then logging messages will be sent to the stderr stream.