diff options
author | Brian Paul <[email protected]> | 2005-11-23 01:37:30 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-11-23 01:37:30 +0000 |
commit | f049ca4e33e0e5d06223a1c05815bc564b4bf06e (patch) | |
tree | 18fde934dd1fd60a2decf47ce2629021615c20f8 /src/egl/main/egllog.h | |
parent | 9bcc9e91745a6125f31d127410ac38e99660da67 (diff) |
New _eglLog() function to replace fprintf/printf calls for debug/info.
Diffstat (limited to 'src/egl/main/egllog.h')
-rw-r--r-- | src/egl/main/egllog.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h new file mode 100644 index 00000000000..2fa352f155d --- /dev/null +++ b/src/egl/main/egllog.h @@ -0,0 +1,16 @@ +#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 */ + + +extern void +_eglLog(EGLint level, const char *fmtStr, ...); + + +#endif /* EGLLOG_INCLUDED */ |