From f049ca4e33e0e5d06223a1c05815bc564b4bf06e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 23 Nov 2005 01:37:30 +0000 Subject: New _eglLog() function to replace fprintf/printf calls for debug/info. --- src/egl/main/egllog.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/egl/main/egllog.h (limited to 'src/egl/main/egllog.h') diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h new file mode 100644 index 0000000000..2fa352f155 --- /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 */ -- cgit v1.2.3