diff --git a/src/utils/logTimestamp.ts b/src/utils/logTimestamp.ts new file mode 100644 index 000000000..2fef765db --- /dev/null +++ b/src/utils/logTimestamp.ts @@ -0,0 +1,10 @@ +// utils/logTimestamp.ts +// Utility for debug logging with millisecond timestamps +// Author: Marta Nowak +// Date: 2025-11-01 + +export function logWithTimestamp(message: string): void { + const now = new Date() + const timestamp = now.toISOString().replace('T', ' ').replace('Z', '') + console.log(`[DEBUG ${timestamp}] ${message}`) +}