Function tauri::api::path::log_dir

source ·
pub fn log_dir(config: &Config) -> Option<PathBuf>
👎Deprecated since 1.2.0: Will be removed in 2.0.0. Use app_log_dir instead.
Expand description

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

§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::app_log_dir for a more convenient helper function.