add logging

This commit is contained in:
anth64 committed 2025-10-21 00:10:51 +02:00
1 parent a82fb80a99
commit 8b26742c63
3 files changed
+33 -3

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#include "stk_log.h"
#include <stdarg.h>
#include <stdio.h>
void stk_log_file(FILE *fp, const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
vfprintf(fp, fmt, args);
fputc('\n', fp);
va_end(args);
}