Skip to content
TypeScript

Remove unused isCloudDebugEnabled and isTerminalDebugEnabled (#14367)

Kriday Dave99e08526e5ec
diff --git a/apps/mobile/src/features/cloud/cloudDebugLog.ts b/apps/mobile/src/features/cloud/cloudDebugLog.ts
index 7e57b39b7bb..e2b904520bf 100644
--- a/apps/mobile/src/features/cloud/cloudDebugLog.ts
+++ b/apps/mobile/src/features/cloud/cloudDebugLog.ts
@@ -5,10 +5,6 @@ const logger = createDebugLogger("cloud", {
legacyGlobalFlag: "__T3_CLOUD_DEBUG__",
});
-export function isCloudDebugEnabled(): boolean {
- return logger.isEnabled();
-}
-
export function cloudDebugLog(event: string, data?: Record<string, unknown>): void {
logger.log(event, data);
}
diff --git a/apps/mobile/src/features/terminal/terminalDebugLog.ts b/apps/mobile/src/features/terminal/terminalDebugLog.ts
index 31c8497915c..2d7e5138cac 100644
--- a/apps/mobile/src/features/terminal/terminalDebugLog.ts
+++ b/apps/mobile/src/features/terminal/terminalDebugLog.ts
@@ -12,10 +12,6 @@ const logger = createDebugLogger("terminal", {
legacyGlobalFlag: "__T3_TERMINAL_DEBUG__",
});
-export function isTerminalDebugEnabled(): boolean {
- return logger.isEnabled();
-}
-
export function terminalDebugLog(message: string, data?: Record<string, unknown>): void {
logger.log(message, data);
}