Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

cloudDebugLog.ts

10 lines284 Bytes

1import { createDebugLogger } from "../../lib/debugLog";
2​
3const logger = createDebugLogger("cloud", {
4 enabledInDev: true,
5 legacyGlobalFlag: "__T3_CLOUD_DEBUG__",
6});
7​
8export function cloudDebugLog(event: string, data?: Record<string, unknown>): void {
9 logger.log(event, data);