chore: add workspace log (#5206)

This commit is contained in:
Lucas.Xu
2024-04-26 14:09:02 +08:00
committed by GitHub
parent cc66147bc0
commit d86afb03ba
5 changed files with 163 additions and 83 deletions

View File

@ -52,6 +52,9 @@ pub fn create_log_filter(level: String, with_crates: Vec<String>, platform: Plat
filters.push(format!("flowy_notification={}", "info"));
filters.push(format!("lib_infra={}", level));
filters.push(format!("flowy_search={}", level));
// Enable the frontend logs. DO NOT DISABLE.
// These logs are essential for debugging and verifying frontend behavior.
filters.push(format!("dart_ffi={}", level));
// Most of the time, we don't need to see the logs from the following crates
// filters.push(format!("flowy_sqlite={}", "info"));