Merge remote branch 'origin/mesa_7_6_branch'
[mesa.git] / src / egl / main / egllog.h
1 #ifndef EGLLOG_INCLUDED
2 #define EGLLOG_INCLUDED
3
4 #include "egltypedefs.h"
5
6 #define _EGL_FATAL 0 /* unrecoverable error */
7 #define _EGL_WARNING 1 /* recoverable error/problem */
8 #define _EGL_INFO 2 /* just useful info */
9 #define _EGL_DEBUG 3 /* useful info for debugging */
10
11
12 typedef void (*_EGLLogProc)(EGLint level, const char *msg);
13
14
15 extern void
16 _eglSetLogProc(_EGLLogProc logger);
17
18
19 extern void
20 _eglSetLogLevel(EGLint level);
21
22
23 extern void
24 _eglLog(EGLint level, const char *fmtStr, ...);
25
26
27 #endif /* EGLLOG_INCLUDED */