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/commands/today/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/today') diff --git a/src/commands/today/mod.rs b/src/commands/today/mod.rs index 0b9b857..35059e5 100644 --- a/src/commands/today/mod.rs +++ b/src/commands/today/mod.rs @@ -91,7 +91,7 @@ pub async fn today(ctx: PoiseContext<'_>, #[rest] _rest: Option) -> anyh let options: Vec = ALL.iter().flat_map(|f| f(today)).collect(); - tracing::debug!("{} options for {}", options.len(), today); + tracing::debug!(option_count = options.len(), %today); let play_args = options.choose(&mut thread_rng()); -- cgit v1.3.1