Skip to main content
Version: 9.0.2

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

ParameterTypeDescription
appgr_application_t*A pointer to an application handle created using gr_application_create_args.
levelintA value indicating the severity of the message, one of GR_LOG_*.
formatconst char*A 'printf' style format string.