char buf[128];
};
-void log_(char const *log_type, FILE *stream, char const *fmt, va_list args) {
+static void log_(char const *log_type, FILE *stream, char const *fmt,
+ va_list args) {
static struct strftime_cache strft;
time_t t = time(NULL);
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