Skip to content
Tauri

appLogDir

appLogDir(): Promise<string>

Defined in: path.ts:604

Returns the path to the suggested directory for your app’s log files.

  • Linux: Resolves to ${configDir}/${bundleIdentifier}/logs.
  • macOS: Resolves to ${homeDir}/Library/Logs/{bundleIdentifier}
  • Windows: Resolves to ${configDir}/${bundleIdentifier}/logs.

Promise<string>

import { appLogDir } from '@tauri-apps/api/path';
const appLogDirPath = await appLogDir();

1.2.0


© 2025 Tauri Contributors. CC-BY / MIT