2005-11-23 01:37:30 +00:00
|
|
|
#ifndef EGLLOG_INCLUDED
|
|
|
|
#define EGLLOG_INCLUDED
|
|
|
|
|
|
|
|
#include "egltypedefs.h"
|
|
|
|
|
|
|
|
#define _EGL_FATAL 0 /* unrecoverable error */
|
|
|
|
#define _EGL_WARNING 1 /* recoverable error/problem */
|
|
|
|
#define _EGL_INFO 2 /* just useful info */
|
|
|
|
#define _EGL_DEBUG 3 /* useful info for debugging */
|
|
|
|
|
|
|
|
|
2009-09-29 09:11:06 +01:00
|
|
|
typedef void (*_EGLLogProc)(EGLint level, const char *msg);
|
|
|
|
|
|
|
|
|
2010-01-05 13:39:15 +00:00
|
|
|
PUBLIC void
|
2009-09-29 09:11:06 +01:00
|
|
|
_eglSetLogProc(_EGLLogProc logger);
|
|
|
|
|
|
|
|
|
2010-01-05 13:39:15 +00:00
|
|
|
PUBLIC void
|
2009-09-29 09:11:06 +01:00
|
|
|
_eglSetLogLevel(EGLint level);
|
|
|
|
|
|
|
|
|
2010-01-05 13:39:15 +00:00
|
|
|
PUBLIC void
|
2005-11-23 01:37:30 +00:00
|
|
|
_eglLog(EGLint level, const char *fmtStr, ...);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* EGLLOG_INCLUDED */
|