Browse Source

style: config log

appflowy 3 năm trước cách đây
mục cha
commit
337161c3d7
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      frontend/rust-lib/flowy-sdk/src/lib.rs

+ 4 - 3
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(",")
 }