From 89a829dac0ad94f8810b587d3484f47a98c6ba73 Mon Sep 17 00:00:00 2001 From: Deven Perez Date: Fri, 22 Aug 2025 00:16:10 -0400 Subject: [PATCH] debugLog --- src/utils/debugLog.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/utils/debugLog.ts diff --git a/src/utils/debugLog.ts b/src/utils/debugLog.ts new file mode 100644 index 0000000..f93cad9 --- /dev/null +++ b/src/utils/debugLog.ts @@ -0,0 +1,5 @@ +export const debugLog = (...data: any[]): void => { + if (process.env.LOG_LEVEL === "DEBUG") { + console.log(...data) + } +} \ No newline at end of file