Skip to content

Commit d20f422

Browse files
committed
Remove unused isCloudDebugEnabled and isTerminalDebugEnabled helpers
Neither export had a caller anywhere in the repo. The debug loggers they wrapped stay, since cloudDebugLog and terminalDebugLog are both used.
1 parent 0fcd5f9 commit d20f422

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

‎apps/mobile/src/features/cloud/cloudDebugLog.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ const logger = createDebugLogger("cloud", {
55
legacyGlobalFlag: "__T3_CLOUD_DEBUG__",
66
});
77

8-
export function isCloudDebugEnabled(): boolean {
9-
return logger.isEnabled();
10-
}
11-
128
export function cloudDebugLog(event: string, data?: Record<string, unknown>): void {
139
logger.log(event, data);
1410
}

‎apps/mobile/src/features/terminal/terminalDebugLog.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ const logger = createDebugLogger("terminal", {
1212
legacyGlobalFlag: "__T3_TERMINAL_DEBUG__",
1313
});
1414

15-
export function isTerminalDebugEnabled(): boolean {
16-
return logger.isEnabled();
17-
}
18-
1915
export function terminalDebugLog(message: string, data?: Record<string, unknown>): void {
2016
logger.log(message, data);
2117
}

0 commit comments

Comments
 (0)