Skip to content

Commit 7b053ba

Browse files
committed
fix(log): update log directory in documentation ref #1637
1 parent 7701392 commit 7b053ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

plugins/log/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ pub enum TargetKind {
184184
///
185185
/// ### Platform-specific
186186
///
187-
/// |Platform | Value | Example |
188-
/// | ------- | --------------------------------------------- | ---------------------------------------------- |
189-
/// | Linux | `{configDir}/{bundleIdentifier}` | `/home/alice/.config/com.tauri.dev` |
190-
/// | macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` |
191-
/// | Windows | `{configDir}/{bundleIdentifier}` | `C:\Users\Alice\AppData\Roaming\com.tauri.dev` |
187+
/// |Platform | Value | Example |
188+
/// | ------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
189+
/// | Linux | `$XDG_DATA_HOME/{bundleIdentifier}/logs` or `$HOME/.local/share/{bundleIdentifier}/logs` | `/home/alice/.local/share/com.tauri.dev/logs` |
190+
/// | macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` |
191+
/// | Windows | `{FOLDERID_LocalAppData}/{bundleIdentifier}/logs` | `C:\Users\Alice\AppData\Local\com.tauri.dev\logs` |
192192
LogDir { file_name: Option<String> },
193193
/// Forward logs to the webview (via the `log://log` event).
194194
///

0 commit comments

Comments
 (0)