Returns the path to the suggested directory for your app's log files.
${configDir}/${bundleIdentifier}/logs
${homeDir}/Library/Logs/{bundleIdentifier}
import { appLogDir } from '@tauri-apps/api/path';const appLogDirPath = await appLogDir(); Copy
import { appLogDir } from '@tauri-apps/api/path';const appLogDirPath = await appLogDir();
1.2.0
Returns the path to the suggested directory for your app's log files.
Platform-specific
${configDir}/${bundleIdentifier}/logs
.${homeDir}/Library/Logs/{bundleIdentifier}
${configDir}/${bundleIdentifier}/logs
.