Skip to content

Commit 82b9393

Browse files
Write about log file in CLAUDE.md
1 parent ea4ff42 commit 82b9393

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎CLAUDE.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@
5656
- Pre-commit hooks are configured.
5757
- **Package manager:** `pnpm` (not `npm`). Use `pnpm add` to install dependencies, `pnpm remove` to uninstall.
5858

59+
### Logging
60+
61+
- Tauri log plugin outputs to stdout, the log directory, and the webview console.
62+
- **Log file location:** `~/Library/Logs/com.github.shunichironomura.procnote/procnote.log`
63+
- In debug mode, the log level is `Debug`. Use `log::info!`, `log::debug!`, `log::warn!`, etc. in Rust backend code.
64+
- Read logs with `tail -f ~/Library/Logs/com.github.shunichironomura.procnote/procnote.log`.
65+
5966
## Misc
6067

6168
- The discussions logs can be found in the `.local` directory. Note that some of the documents are ideas that have been discarded later.

0 commit comments

Comments
 (0)