(tag: string, msg: string, meta?: Record<string, unknown>)
| 125 | // and in Vercel function logs. Keep messages structured; the second arg |
| 126 | // is dumped as JSON so we don't have to invent a format per call site. |
| 127 | function logInfo(tag: string, msg: string, meta?: Record<string, unknown>) { |
| 128 | console.log(`[scan:${tag}] ${msg}${meta ? ` ${JSON.stringify(meta)}` : ""}`); |
| 129 | } |
| 130 | |
| 131 | function logError(tag: string, msg: string, err: unknown) { |
| 132 | const detail = |
no outgoing calls
no test coverage detected