From 006c1580ef0cb33fb1875ef1a8a0646a20d18bd9 Mon Sep 17 00:00:00 2001
From: stevepresley
+ Writes troubleshooting logs to your temp folder and Buzz app + data. Turn this off when finished. +
+
Debug console:{" "}
diff --git a/desktop/src/shared/api/tauriMesh.ts b/desktop/src/shared/api/tauriMesh.ts
index 8a0153123f4..a1b1e6c3b83 100644
--- a/desktop/src/shared/api/tauriMesh.ts
+++ b/desktop/src/shared/api/tauriMesh.ts
@@ -38,18 +38,81 @@ export type MeshNodeStatus = {
deviceName?: string | null;
};
+let meshDiagnosticLoggingEnabled = false;
+
+export function meshDebugLog(message: string): void {
+ if (!meshDiagnosticLoggingEnabled) return;
+ void invokeTauri