From 5c8d24a43f74919fc0c97b9b2bd7b6eac0afc3e2 Mon Sep 17 00:00:00 2001 From: Akmot9 Date: Fri, 28 Feb 2025 14:23:03 +0100 Subject: [PATCH] fmt logging --- src/content/docs/plugin/logging.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/content/docs/plugin/logging.mdx b/src/content/docs/plugin/logging.mdx index ef52478da4..14f4376db4 100644 --- a/src/content/docs/plugin/logging.mdx +++ b/src/content/docs/plugin/logging.mdx @@ -237,11 +237,11 @@ tauri_plugin_log::Builder::new() When using the LogDir target, all logs are stored in the recommended log directory. The following table describes the location of the logs per platform: -| Platform | Value | Example | -| -------- | ------------------------------------------------- | ------------------------------------------------- | -| Linux | `{configDir}/{bundleIdentifier}` | `/home/alice/.config/com.tauri.dev` | -| macOS | `{homeDir}/Library/Logs/{bundleIdentifier}` | `/Users/Alice/Library/Logs/com.tauri.dev` | -| Windows | `{FOLDERID_LocalAppData}/{bundleIdentifier}/logs` | `C:\Users\Alice\AppData\Local\com.tauri.dev\logs` | +| Platform | Value | Example | +| -------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------- | +| 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` | +| Windows | `{FOLDERID_LocalAppData}/{bundleIdentifier}/logs` | `C:\Users\Alice\AppData\Local\com.tauri.dev\logs` | - `Folder`: