added log Timestamps (#42)
Generate and publish developer Wiki / publish-wiki (push) Canceled after 0s
Generate and publish developer Wiki / validate-wiki (push) Canceled after 9s
Build and publish release / create-release (push) Canceled after 0s
Build and publish release / build (push) Canceled after 0s
Build and publish release / publish-release (push) Canceled after 0s
Build and publish release / metadata (push) Canceled after 10s

Reviewed-on: #42
Co-authored-by: Koda YeenBean <n122330@gmail.com>
This commit was merged in pull request #42.
This commit is contained in:
2026-08-07 14:55:38 +01:00
committed by Koda
parent 308803053c
commit c7687fd35d
12 changed files with 110 additions and 83 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
#if ENABLE_LOGGING
#include <stdio.h>
extern FILE *log_fp;
#define LOG(fmt, ...) do { if (log_fp) { fprintf(log_fp, "[%s] " fmt "\n", __func__, ##__VA_ARGS__); fflush(log_fp); } } while(0)
#define LOG(fmt, ...) do { if (log_fp) openuf_log_emit(log_fp, __func__, fmt, ##__VA_ARGS__); } while(0)
#else
#define LOG(fmt, ...) do {} while(0)
#endif