Nymbo's picture
Sync with upstream huggingface-projects/inference-playground (node 22, current Svelte app)
4e2820e verified
Raw History Blame Contribute Delete
262 Bytes
const DEBUG_LOG = true;
export const debugLog = (...args: unknown[]) => {
if (!DEBUG_LOG) return;
console.log("[LOG DEBUG]", ...args);
};
export const debugError = (...args: unknown[]) => {
if (!DEBUG_LOG) return;
console.error("[LOG DEBUG]", ...args);
};