cpp, simple wrappers for most of what we need, ivi_* still incomplete
[staging/windowmanager.git] / src / util.c
index ee4b7b6..0ce7c27 100644 (file)
@@ -53,3 +53,12 @@ void fatal(char const *fmt, ...) {
    va_end(a);
    abort();
 }
+
+#ifdef DEBUG_OUTPUT
+void logdebug(char const *fmt, ...) {
+   va_list a;
+   va_start(a, fmt);
+   log_("debug", stdout, fmt, a);
+   va_end(a);
+}
+#endif