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.

Parameters: app A pointer to an application handle created using gr_application_create_args. level A value indicating the severity of the message, one of GR_LOG_* format A 'printf' style format string Returns: Nothing

The gr_app_log is a method of integrating custom debug logging that obeys the the GR_DEBUG_CMD_VERBOSITY command and verbosity level.

Was this article helpful?
0 out of 0 found this helpful