Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Chad Versace <chadversary@chromium.org>
}
-/**
- * Set the log reporting level.
- */
-void
-_eglSetLogLevel(EGLint level)
-{
- switch (level) {
- case _EGL_FATAL:
- case _EGL_WARNING:
- case _EGL_INFO:
- case _EGL_DEBUG:
- mtx_lock(&logging.mutex);
- logging.level = level;
- mtx_unlock(&logging.mutex);
- break;
- default:
- break;
- }
-}
-
-
/**
* The default logger. It prints the message to stderr.
*/
_eglSetLogProc(_EGLLogProc logger);
-extern void
-_eglSetLogLevel(EGLint level);
-
-
extern void
_eglLog(EGLint level, const char *fmtStr, ...);