diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-08-16 07:12:33 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-08-16 07:12:33 -0400 |
| commit | c5ce454319a7d54d3967c6ea7695543e943a37b2 (patch) | |
| tree | 193a6907bc3a476f18774558ca52a3cb7618f912 /src/config.rs | |
| parent | 5a2dc4070c1d14f22a7671c6f82ca2f4578369bd (diff) | |
tracing: use fields rather than interpolation
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 }; |
