gr_app_log
#include <gre/gre.h>
void gr_app_log(
gr_application_t *app,
int level,
const char *format,
...
);
The gr_app_log function provides an interface to integrate logging into user created threads and plugins.
The gr_app_log is a method of integrating custom debug logging that obeys the the GR_DEBUG_CMD_VERBOSITY command and verbosity level.
Parameters
| Parameter | Type | Description |
|---|---|---|
app | gr_application_t* | A pointer to an application handle created using gr_application_create_args. |
level | int | A value indicating the severity of the message, one of GR_LOG_*. |
format | const char* | A 'printf' style format string. |