Skip to main content

ResolveLogDirectory

Function ResolveLogDirectory 

Source
fn ResolveLogDirectory() -> PathBuf
Expand description

Resolve the log directory for this session: ~/Library/Application Support//logs//

The timestamp is picked once per process at first call. If the app-data prefix can’t be detected (Tauri hasn’t spawned yet, say), fall back to the system temp directory with the same naming - dev_log still works and the file ends up somewhere predictable.