appLogDir

external fun appLogDir(): Promise<String>(source)

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

Platform-specific

  • Linux: Resolves to ${localDataDir}/${bundleIdentifier}/logs.

  • macOS: Resolves to ${homeDir}/Library/Logs/{bundleIdentifier}

  • Windows: Resolves to ${localDataDir}/${bundleIdentifier}/logs.

All of them can be overridden with the app > appDirectoriesOverride config (a single root override resolves to ${root}/logs).

Since

1.2.0