diff --git a/crates/voicevox_core_c_api/src/lib.rs b/crates/voicevox_core_c_api/src/lib.rs index 80c03da63..61127ff81 100644 --- a/crates/voicevox_core_c_api/src/lib.rs +++ b/crates/voicevox_core_c_api/src/lib.rs @@ -64,9 +64,8 @@ fn init_logger_once() { } else { "warn" }; - EnvFilter::from(format!( - "error,voicevox_core=info,voicevox_core_c_api=info,ort={ORT_LOGGING_LEVEL}" - )) + format!("error,voicevox_core=info,voicevox_core_c_api=info,ort={ORT_LOGGING_LEVEL}") + .into() }) .with_timer(local_time as fn(&mut Writer<'_>) -> _) .with_ansi(ansi)