Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-471

Unified logging between Sync/Core/ObjectStore

      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.

            Assignee:
            jorgen.edelbo@mongodb.com Jørgen Edelbo
            Reporter:
            christian.melchior@mongodb.com Christian Melchior (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: