From 23d8345b0e3416b68c1784eb2ea14a92736c6bdc Mon Sep 17 00:00:00 2001 From: mokurin000 <1348292515a@gmail.com> Date: Sat, 2 Aug 2025 00:13:31 +0800 Subject: [PATCH] log: always colorful output to stderr --- sdgb-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdgb-cli/src/main.rs b/sdgb-cli/src/main.rs index b39ed7f..1d13a34 100644 --- a/sdgb-cli/src/main.rs +++ b/sdgb-cli/src/main.rs @@ -52,7 +52,7 @@ async fn main() -> Result<(), Box> { })); let sink = StdStreamSink::builder() .stderr() - .style_mode(StyleMode::Auto) + .style_mode(StyleMode::Always) .build()?; *log.sinks_mut() = vec![Arc::new(sink)]; Ok(())