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

terminalDebugLog.ts

10 lines297 Bytes

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