fix(log): update log directory in documentation ref #1637

pull/1656/head
Lucas Nogueira 10 months ago
parent 7701392500
commit 7b053ba6f6
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -184,11 +184,11 @@ pub enum TargetKind {
/// ///
/// ### Platform-specific /// ### Platform-specific
/// ///
/// |Platform | Value | Example | /// |Platform | Value | Example |
/// | ------- | --------------------------------------------- | ---------------------------------------------- | /// | ------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
/// | Linux | `{configDir}/{bundleIdentifier}` | `/home/alice/.config/com.tauri.dev` | /// | Linux | `$XDG_DATA_HOME/{bundleIdentifier}/logs` or `$HOME/.local/share/{bundleIdentifier}/logs` | `/home/alice/.local/share/com.tauri.dev/logs` |
/// | macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` | /// | macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` |
/// | Windows | `{configDir}/{bundleIdentifier}` | `C:\Users\Alice\AppData\Roaming\com.tauri.dev` | /// | Windows | `{FOLDERID_LocalAppData}/{bundleIdentifier}/logs` | `C:\Users\Alice\AppData\Local\com.tauri.dev\logs` |
LogDir { file_name: Option<String> }, LogDir { file_name: Option<String> },
/// Forward logs to the webview (via the `log://log` event). /// Forward logs to the webview (via the `log://log` event).
/// ///

Loading…
Cancel
Save