SyncManagerLogger
internal class SyncManagerLogger(logger: <Error class: unknown class>, syncId: String, syncType: SyncType, syncStartedMoment: <Error class: unknown class>)
Logs the sync process by providing structured logs. It logs the sync process start and completion with the syncId as a unique identifier.
Constructors
Link copied to clipboard
constructor(logger: <Error class: unknown class>, syncId: String, syncType: SyncType, syncStartedMoment: <Error class: unknown class>)
Functions
Link copied to clipboard
fun logSyncCompleted(duration: <Error class: unknown class> = Clock.System.now() - syncStartedMoment)
Logs the sync process completion. Optionally, it can pass the duration of the sync process, useful for incremental sync that can happen between collecting states.
Link copied to clipboard
Logs the sync process start.