Skip to content

Commit 7a0f232

Browse files
authored
update logging doc linux target dir (#3187)
1 parent 8f535a8 commit 7a0f232

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/content/docs/plugin/logging.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,11 @@ tauri_plugin_log::Builder::new()
237237
When using the LogDir target, all logs are stored in the recommended log directory.
238238
The following table describes the location of the logs per platform:
239239

240-
| Platform | Value | Example |
241-
| -------- | ------------------------------------------------- | ------------------------------------------------- |
242-
| Linux | `{configDir}/{bundleIdentifier}` | `/home/alice/.config/com.tauri.dev` |
243-
| macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` |
244-
| Windows | `{FOLDERID_LocalAppData}/{bundleIdentifier}/logs` | `C:\Users\Alice\AppData\Local\com.tauri.dev\logs` |
240+
| Platform | Value | Example |
241+
| -------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------- |
242+
| Linux | `$XDG_DATA_HOME/{bundleIdentifier}/logs` or `$HOME/.local/share/{bundleIdentifier}/logs` | `/home/alice/.local/share/com.tauri.dev/logs` |
243+
| macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` |
244+
| Windows | `{FOLDERID_LocalAppData}/{bundleIdentifier}/logs` | `C:\Users\Alice\AppData\Local\com.tauri.dev\logs` |
245245

246246
- `Folder`:
247247

0 commit comments

Comments
 (0)