Spaces:
Sleeping
Sleeping
Download frontend/src/utils/devLogger.js from tcmmichaelb139/evolutiontransformer: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/tcmmichaelb139/evolutiontransformer/resolve/main/frontend/src/utils/devLogger.js
- Command line
-
hf download hf://spaces/tcmmichaelb139/evolutiontransformer/frontend/src/utils/devLogger.js
-
curl -L -o devLogger.js https://huggingface.co/spaces/tcmmichaelb139/evolutiontransformer/resolve/main/frontend/src/utils/devLogger.js
411 Bytes
| // Development-only logging utility | |
| // These logs will only appear in development builds, not production | |
| export const devLog = (...args) => { | |
| if (import.meta.env.DEV) { | |
| console.log(...args); | |
| } | |
| }; | |
| export const devError = (...args) => { | |
| if (import.meta.env.DEV) { | |
| console.error(...args); | |
| } | |
| }; | |
| export const devWarn = (...args) => { | |
| if (import.meta.env.DEV) { | |
| console.warn(...args); | |
| } | |
| }; | |