(event: string, data?: Record<string, unknown>)
| 7 | } |
| 8 | |
| 9 | export function cloudDebugLog(event: string, data?: Record<string, unknown>): void { |
| 10 | if (!isCloudDebugEnabled()) { |
| 11 | return; |
| 12 | } |
| 13 | if (data) { |
| 14 | console.log(`[t3-cloud] ${event}`, data); |
| 15 | } else { |
| 16 | console.log(`[t3-cloud] ${event}`); |
| 17 | } |
| 18 | } |
no test coverage detected