瀏覽代碼

style: config log

appflowy 3 年之前
父節點
當前提交
337161c3d7
共有 1 個文件被更改,包括 4 次插入3 次删除
  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(",")
 }