bin/log: Inline format string variables where possible

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer
2025-12-09 13:17:57 +01:00
committed by Erik Kundt
parent 187f8e3611
commit 6adf95d285
+1 -1
View File
@@ -21,7 +21,7 @@ pub fn enable() -> Result<(), anyhow::Error> {
fs::create_dir_all(path.clone())?;
simple_logging::log_to_file(
format!("{}/{}{}.log", path, PREFIX, now.as_millis()),
format!("{path}/{PREFIX}{}.log", now.as_millis()),
LevelFilter::Info,
)?;