[GH-ISSUE #1677] [FR] Propagate dart log to rust and save to disk #640

Closed
opened 2026-03-23 20:39:05 +00:00 by mirror · 2 comments
Owner

Originally created by @appflowy on GitHub (Jan 7, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1677

Originally assigned to: @0xkelvin on GitHub.

Description

Currently, the dart log doesn't save to disk. It needs to propagate the log to the backend. For example, we can create a new c API in dart-ffi . Then call it from the dart code through ffi.dart

image

Impact

None

Additional Context

No response

Originally created by @appflowy on GitHub (Jan 7, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1677 Originally assigned to: @0xkelvin on GitHub. ### Description Currently, the dart log doesn't save to disk. It needs to propagate the [log](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/flowy_sdk/lib/log.dart) to the backend. For example, we can create a new c API in [dart-ffi ](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/rust-lib/dart-ffi/src/lib.rs). Then call it from the dart code through [ffi.dart](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/flowy_sdk/lib/ffi.dart) ![image](https://user-images.githubusercontent.com/86001920/211128360-2e2e29a3-8a36-432c-97cf-adcd3a873742.png) ### Impact None ### Additional Context _No response_
mirror 2026-03-23 20:39:05 +00:00
  • closed this issue
  • added the
    infra
    label
Author
Owner

@0xkelvin commented on GitHub (Jan 7, 2023):

i willing take this one

<!-- gh-comment-id:1374359770 --> @0xkelvin commented on GitHub (Jan 7, 2023): i willing take this one
Author
Owner

@0xkelvin commented on GitHub (Jan 8, 2023):

could you please check again the hyperlink, i am not able to access:

cc: @annieappflowy @appflowy

<!-- gh-comment-id:1374942005 --> @0xkelvin commented on GitHub (Jan 8, 2023): could you please check again the hyperlink, i am not able to access: - log : https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/flowy_sdk/lib/log.dart - ffi.dart: https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/flowy_sdk/lib/ffi.dart cc: @annieappflowy @appflowy
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#640
No description provided.