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:
Joe 2026-03-01 13:16:00 -06:00
parent b5583c4c1b
commit 3fd50df0b2
29 changed files with 1463 additions and 79 deletions

32
Cargo.lock generated
View file

@ -201,7 +201,8 @@ dependencies = [
"csv",
"data-encoding",
"embed-resource",
"env_logger 0.11.9",
"filetime",
"flate2",
"fs-err",
"futures",
"gix",
@ -252,6 +253,10 @@ dependencies = [
"thiserror 2.0.18",
"tokio",
"toml",
"tracing",
"tracing-appender",
"tracing-log",
"tracing-subscriber",
"uuid",
"walkdir",
"winreg 0.55.0",
@ -4869,9 +4874,33 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
dependencies = [
"pin-project-lite",
"tracing-attributes",
"tracing-core",
]
[[package]]
name = "tracing-appender"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "786d480bce6247ab75f005b14ae1624ad978d3029d9113f0a22fa1ac773faeaf"
dependencies = [
"crossbeam-channel",
"thiserror 2.0.18",
"time 0.3.47",
"tracing-subscriber",
]
[[package]]
name = "tracing-attributes"
version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
dependencies = [
"proc-macro2 1.0.106",
"quote 1.0.44",
"syn 2.0.117",
]
[[package]]
name = "tracing-core"
version = "0.1.36"
@ -4906,6 +4935,7 @@ dependencies = [
"sharded-slab",
"smallvec",
"thread_local",
"time 0.3.47",
"tracing",
"tracing-core",
"tracing-log",