From 337161c3d723690bd3ff9116766a72bbcc0d4d4b Mon Sep 17 00:00:00 2001 From: appflowy Date: Mon, 7 Feb 2022 15:51:19 +0800 Subject: [PATCH] style: config log --- frontend/rust-lib/flowy-sdk/src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/rust-lib/flowy-sdk/src/lib.rs b/frontend/rust-lib/flowy-sdk/src/lib.rs index d19d19adf6..f3582ad92b 100644 --- a/frontend/rust-lib/flowy-sdk/src/lib.rs +++ b/frontend/rust-lib/flowy-sdk/src/lib.rs @@ -69,13 +69,14 @@ fn crate_log_filter(level: String) -> String { filters.push(format!("flowy_user={}", level)); filters.push(format!("flowy_document={}", level)); filters.push(format!("flowy_collaboration={}", level)); - filters.push(format!("flowy_net={}", level)); - filters.push(format!("dart_ffi={}", "info")); - filters.push(format!("dart_database={}", "info")); filters.push(format!("dart_notify={}", level)); filters.push(format!("lib_ot={}", level)); filters.push(format!("lib_ws={}", level)); filters.push(format!("lib_infra={}", level)); + + filters.push(format!("dart_ffi={}", "info")); + filters.push(format!("flowy_database={}", "info")); + filters.push(format!("flowy_net={}", "info")); filters.push(format!("flowy_sync={}", "info")); filters.join(",") }