-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: ObjectStore
-
2 - S (<= 1 week)
-
4194
-
Not Needed
-
SDK FY21-Q3, SDK FY21-Q3.
Right now Sync has it's own logger that isn't shared with Core and ObjectStore.
Especially in ObjectStore the lack of a unified logger makes it hard to log events that makes debugging easier for both us and end consumers.
E.g. one example is https://github.com/realm/realm-object-store/blob/v10/src/sync/sync_session.cpp#L284 . Here it would make sense to log that we are trying and what error caused the retry. Right now this happens silently which makes debugging this really hard.
Solution: A shared logger interface that can be used between Core/Sync/ObjectStore that bindings can hook into and forward to their own implementations, like LogCat on Android.