mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Add time crate for session log filename generation and refactor logging setup
- Introduced the `time` crate to generate session log filenames in UTC format, enhancing log file naming consistency. - Refactored the logging setup to create log files based on the generated filenames, improving the clarity of log management. - Updated the `compress_old_logs` function to streamline log file handling, ensuring proper cleanup of old logs. These changes aim to improve the logging system's functionality and maintainability within the application.
This commit is contained in:
parent
491506fafd
commit
1f7682dfac
3 changed files with 113 additions and 72 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -251,6 +251,7 @@ dependencies = [
|
|||
"tempfile",
|
||||
"termcolor",
|
||||
"thiserror 2.0.18",
|
||||
"time 0.3.47",
|
||||
"tokio",
|
||||
"toml",
|
||||
"tracing",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue