This function returns am_status_t with one of the following values:
If no error is detected
If name or id_ptr is NULL
If unable to initialize to the logging package
If unable to allocate memory for the new logging module
If unable to allocate memory for the new logging module