Logs a message for the given module at the given level.
#include "am_log.h" AM_EXPORT boolean_t am_log_vlog(am_log_module_id_t moduleID, am_log_level_t level, const char *format, ...);
This function takes the following parameters:
The ID of the module to be associated with the message.
The logging level of the message.
A printf-style format string.
The set of addition arguments needed by the format string either enumerated directly or passed using the standard va_list mechanism as appropriate to the call.
The message is emitted only if the current level of the specified module is greater than or equal to the specified level.