MCPcopy Create free account
hub / github.com/pingdotgg/t3code / cloudDebugLog

Function cloudDebugLog

apps/mobile/src/features/cloud/cloudDebugLog.ts:9–18  ·  view source on GitHub ↗
(event: string, data?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

7}
8
9export 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}

Callers 1

Calls 1

isCloudDebugEnabledFunction · 0.85

Tested by

no test coverage detected