From c5ce454319a7d54d3967c6ea7695543e943a37b2 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Fri, 16 Aug 2024 07:12:33 -0400 Subject: tracing: use fields rather than interpolation --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 046a2be..a5ac928 100644 --- a/src/config.rs +++ b/src/config.rs @@ -18,13 +18,13 @@ lazy_static! { }; pub static ref FFMPEG_COMMAND: String = { let result = CONFIG.ffmpeg.clone().unwrap_or("ffmpeg".to_owned()); - tracing::debug!("got ffmpeg: {result}"); + tracing::debug!(ffmpeg = %result, "got ffmpeg"); result }; pub static ref YTDL_COMMAND: String = { let result = CONFIG.ytdl.clone().unwrap_or("yt-dlp".to_owned()); - tracing::debug!("got ytdl: {result}"); + tracing::debug!(ytdl = %result, "got ytdl"); result }; -- cgit v1.3.1