From 5b62ff6ff7c566f051c6a4f04bd85546efa757e9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 18 Dec 2024 16:24:44 +0100 Subject: [PATCH] `utils`: Reduce logging --- acrate_utils/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acrate_utils/src/lib.rs b/acrate_utils/src/lib.rs index 1da26e8..392fa0a 100644 --- a/acrate_utils/src/lib.rs +++ b/acrate_utils/src/lib.rs @@ -7,10 +7,10 @@ pub mod run; #[macro_export] macro_rules! add_minijinja_template { ($mj:ident, $path:literal) => { - log::trace!("Adding template to minijinja Environment: {:?} ← {:#?}", $mj, $path); + log::trace!("Adding template to minijinja Environment: {:#?}", $path); $mj.add_template($path, include_str!($path)) .expect(concat!("Invalid Minijinja template: ", $path)); - log::trace!("Added template to minijinja Environment: {:?} ← {:#?}", $mj, $path); + log::trace!("Added template to minijinja Environment: {:#?}", $path); }; } @@ -18,9 +18,9 @@ macro_rules! add_minijinja_template { #[macro_export] macro_rules! add_axum_route { ($router:ident, $path:literal, $route:expr) => { - log::trace!("Adding route to axum Router: {:?} ← {:#?}", $router, $path); + log::trace!("Adding route to axum Router: {:#?}", $path); let $router = $router.route($path, $route); - log::trace!("Added route to axum Router: {:?} ← {:#?}", $router, $path); + log::trace!("Added route to axum Router: {:#?}", $path); }; }