thomas725
thomas725
Thank you @fzyzcjy for documenting your rust->flutter logging setup and allowing me to copy it :) A question concerning the more generic topic of this thread: If I use a...
@shekohex yes, I thought of something like that too, but where in flutter do I put the call to rust to set that "continue" boolean to false? All the code...
@shekohex thank you, exactly what I've been looking for! Now how do I write this in rust without the compiler complaining that it's unsafe and telling me I need an...
Ah, okey, thanks for the hint! EDIT: I think now I got it: ```rust static KEEP_TICKING: AtomicBool = AtomicBool::new(false); // can't omit the return type yet, this is a bug...
> Btw my code not only logs to Dart, but also logs to Android/iOS "standard" logging as well. that's a lovely feature, thank you for sharing! I found I could...
> btw parking_lot is a public Rust library, find it using Google oh, thanks for the hint.. it's name sounds very domain specific ;) > That is a method in...
I would have liked to have access to the logger level definitions in flutter, so I though I move them from logger.rs SendToDartLogger struct over into my api.rs LogEntry struct...
> sounds like a separate problem. Maybe create a new issue. your right, I did, see: https://github.com/fzyzcjy/flutter_rust_bridge/issues/494 > And check do you have `/tmp` folder? I do. Otherwise I guess...
How do I use the logger.rs code you posted above on the rust side, after the stream has been setup by the dart side?
Oh! Nice! Thank you! To get it to compile for android, I had to remove the `modified_record` in lines 173 to 177 and use the original `record` instead, because: ```...