Skip to main content

LOG_FILE

Constant LOG_FILE 

Source
pub const LOG_FILE: &str = "trail.log";
Expand description

Log file, written into the system temp directory.

Trail owns the alternate screen, so log output can never go to stdout; it goes here instead. Temp is deliberate — the log is a debugging aid, not state worth preserving, and the OS reclaims it.