(message: string, ...additional: any[])
| 1 | import { getPlatformEnv } from './get-platform-env'; |
| 2 | |
| 3 | export default function debug(message: string, ...additional: any[]) { |
| 4 | if (getPlatformEnv('BUILDER_DEBUG')) { |
| 5 | console.log(message, ...additional); |
| 6 | } else if (process.env.VERCEL_DEBUG_PREFIX) { |
| 7 | console.log(`${process.env.VERCEL_DEBUG_PREFIX}${message}`, ...additional); |
| 8 | } |
| 9 | } |
no test coverage detected