Update dependencies and enhance logging functionality

- Added the `dirs` crate version 6.0.0 to manage directory paths more effectively.
- Introduced a new `write_log_header` function to standardize log file headers, including project and command details.
- Updated logging path to use the home directory for log storage, improving accessibility.
- Adjusted documentation to reflect the new logging path format.

These changes aim to improve the logging system's clarity and maintainability while ensuring proper directory management.
This commit is contained in:
Joe 2026-03-01 14:55:55 -06:00
parent 84253019c2
commit 77e214e02f
4 changed files with 29 additions and 4 deletions

View file

@ -142,7 +142,7 @@ pub struct Project {
#[serde(skip_serializing_if = "Option::is_none")]
pub ignore_hidden_services: Option<bool>,
/// Controls the log level for file-based logging to `.atlas/logs/`.
/// Controls the log level for file-based logging to `~/.atlas/logs/`.
/// Values: "trace" (default), "debug", "info", "warn", "error", "none".
/// When "none", file logging is disabled entirely.
#[serde(skip_serializing_if = "Option::is_none")]