把level放到info

This commit is contained in:
shenjack-5600u 2024-02-10 13:17:21 +08:00
parent 19de0314df
commit e917a787b1
Signed by: shenjack
GPG Key ID: FDF9864E11C7E79F

View File

@ -8,7 +8,7 @@ pub fn init_log_with_cli() {
// 从低级开始判断 // 从低级开始判断
let trace = tracing_subscriber::fmt() let trace = tracing_subscriber::fmt()
.with_max_level(tracing::Level::DEBUG) .with_max_level(tracing::Level::INFO)
.with_line_number(true) .with_line_number(true)
.try_init(); .try_init();
if trace.is_err() { if trace.is_err() {