18 lines · 495 B · TypeScript
RawDownload
export function isCloudDebugEnabled(): boolean {  return (    (typeof __DEV__ !== "undefined" && __DEV__) ||    (typeof globalThis !== "undefined" &&      (globalThis as { __T3_CLOUD_DEBUG__?: boolean }).__T3_CLOUD_DEBUG__ === true)  );} export function cloudDebugLog(event: string, data?: Record<string, unknown>): void {  if (!isCloudDebugEnabled()) {    return;  }  if (data) {    console.log(`[t3-cloud] ${event}`, data);  } else {    console.log(`[t3-cloud] ${event}`);  }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t