feat: WriteDebugLog binding writes frontend logs to <vault>/.verstak/debug.log

- New cmd/verstak-gui/bindings_debug.go: WriteDebugLog(msg) appends a
  timestamped line to the vault's .verstak/debug.log
- Frontend: console.log replaced with writeDebugLog() which calls
  wailsCall('WriteDebugLog', ...) — works in production Wails builds
- Both acceptTodaySuggestion and acceptJournalSuggestion log eventIds,
  events, and errors to the file
This commit is contained in:
2026-06-03 17:06:17 +08:00
parent 9338b0a851
commit 3e55b08e6f
4 changed files with 32 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
background: #13131f;
}
</style>
<script type="module" crossorigin src="/assets/main-BTm9jSp2.js"></script>
<script type="module" crossorigin src="/assets/main-DctkOBUz.js"></script>
<link rel="stylesheet" crossorigin href="/assets/main-BafVhx43.css">
</head>
<body>