+ va_list va;
+
+ va_start(va, fmt);
+ vsnprintf(logents[prodptr], 40, fmt, va);
+ va_end(va);
+ prodptr = (prodptr + 1) % LOGLEN;
+}
+void (*outputf)(const char *s, ...) = dologf;
+
+void dump_log (char * target) {
+ memcpy(target, logents, sizeof(logents));