feat(log): single log-file (const name)

This commit is contained in:
Rudxain 2025-04-16 00:07:12 -04:00
commit 2d8d06fc3d
No known key found for this signature in database
GPG key ID: 0DAC837DDEF8E96C

View file

@ -69,7 +69,7 @@ fn setup_logger() -> Result<(), fern::InitError> {
.create(true)
.append(true)
.truncate(false)
.open(CACHE_DIR.join(format!("UAD_{}.log", chrono::Local::now().format("%Y%m%d"))))?;
.open(CACHE_DIR.join("uadng.log"))?;
let file_dispatcher = fern::Dispatch::new()
.format(make_formatter(false))