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