egllog.h revision cdc920a0
1#ifndef EGLLOG_INCLUDED
2#define EGLLOG_INCLUDED
3
4
5#include "egltypedefs.h"
6
7
8#define _EGL_FATAL   0   /* unrecoverable error */
9#define _EGL_WARNING 1   /* recoverable error/problem */
10#define _EGL_INFO    2   /* just useful info */
11#define _EGL_DEBUG   3   /* useful info for debugging */
12
13
14typedef void (*_EGLLogProc)(EGLint level, const char *msg);
15
16
17PUBLIC void
18_eglSetLogProc(_EGLLogProc logger);
19
20
21PUBLIC void
22_eglSetLogLevel(EGLint level);
23
24
25PUBLIC void
26_eglLog(EGLint level, const char *fmtStr, ...);
27
28
29#endif /* EGLLOG_INCLUDED */
30