void axl_log ( char *  domain,
AxlDebugLevel  level,
char *  message,
  ... 
)

Allows to drop a log to the console.

This function allow to drop a log to the console using the given domain, as an identification of which subsystem have reported the information, and report level. This report level is used to notify the consideration of the log reported.

The function allows to provide a printf like interface to report messages. Here are some examples:

 // drop a log about current library initialization
 axl_log ("axl", AXL_LEVEL_DEBUG, "library properly initialized status=%d", status);

Parameters:
domain The domain where the log as generated. if NULL is provided a log with no domain will be generated.
level The level that this message is classificed.
message The message to report. The message to report must be not NULL.