#ifndef WM_UTIL_H
#define WM_UTIL_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void lognotice(char const *fmt, ...);
void logerror(char const *fmt, ...);
void fatal(char const *fmt, ...);
+#ifdef DEBUG_OUTPUT
+void logdebug(char const *fmt, ...);
+#else
+inline void logdebug(char const *fmt, ...) {}
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
#endif // !WM_UTIL_H