mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-16 08:20:39 +08:00
bin/log: Inline format string variables where possible
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
committed by
Erik Kundt
parent
187f8e3611
commit
6adf95d285
+1
-1
@@ -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,
|
||||
)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user