mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
Update logging and enhance .gitignore for Atlas directory
- Introduced a logging system using `tracing` and related crates to improve log management and output formatting. - Updated `.gitignore` to include the `.atlas/` directory, ensuring that log files and other generated content are not tracked by Git. - Enhanced project templates to include the new `.gitignore` settings for Atlas in various project types. These changes aim to improve logging capabilities and maintain a cleaner repository by ignoring unnecessary files.
This commit is contained in:
parent
b5583c4c1b
commit
3fd50df0b2
29 changed files with 1463 additions and 79 deletions
|
|
@ -142,6 +142,12 @@ 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/`.
|
||||
/// Values: "trace" (default), "debug", "info", "warn", "error", "none".
|
||||
/// When "none", file logging is disabled entirely.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub file_log_level: Option<String>,
|
||||
|
||||
/// The path to the file that this project came from. Relative paths in the
|
||||
/// project should be considered relative to the parent of this field, also
|
||||
/// given by `Project::folder_location`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue