From ef18cff56d06cb58ca6307bfc82f770d35626d1a Mon Sep 17 00:00:00 2001 From: jacob Date: Sun, 2 Nov 2025 19:40:24 -0600 Subject: [PATCH] formatting --- src/base/base_win32/base_win32_log.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/base/base_win32/base_win32_log.c b/src/base/base_win32/base_win32_log.c index 1a7afbfe..e71e6ce7 100644 --- a/src/base/base_win32/base_win32_log.c +++ b/src/base/base_win32/base_win32_log.c @@ -45,13 +45,11 @@ void W32_Log(i32 level, String msg) } __profmsg((char *)msg.text, msg.len, settings.color); - /* FIXME: Log actual thread & fiber id */ DateTime datetime = LocalDateTime(); i64 now_ns = TimeNs(); i32 thread_id = GetCurrentThreadId(); i32 fiber_id = FiberId(); - //- Log message to file /* TODO: Log asynchronously */ { @@ -70,7 +68,7 @@ void W32_Log(i32 level, String msg) FmtUintZ(thread_id, 5), /* Fiber id */ - FmtUintZ(fiber_id, 5), + FmtUintZ(fiber_id, 4), /* Level */ FmtString(shorthand), @@ -78,7 +76,6 @@ void W32_Log(i32 level, String msg) /* Message */ FmtString(msg) ); - WriteFile(g->logfile, msg_formatted.text, msg_formatted.len, 0, 0); }