Function tauri::api::path::log_dir

source · []
pub fn log_dir(config: &Config) -> Option<PathBuf>
Expand description

Returns the path to the suggested log directory.

Platform-specific

  • Linux: Resolves to ${config_dir}/${bundle_identifier}.
  • macOS: Resolves to ${home_dir}//Library/Logs/{bundle_identifier}
  • Windows: Resolves to ${config_dir}/${bundle_identifier}.

See PathResolver::log_dir for a more convenient helper function.