ILoggerProvider class abstract
Interface para logging automático de sincronização
Este serviço é responsável apenas por registrar logs de sincronização após operações bem-sucedidas no banco de dados local.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearAllLogs(
) → Future< void> -
getAllLogs(
) → Future< List< SyncLog> > -
getPendingLogs(
) → Future< List< SyncLog> > -
incrementRetryCount(
String id) → Future< void> -
logBatch<
T extends SyncModelSyncable> (List< T> entities, SyncOperation operation) → Future<void> -
logCreate<
T extends SyncModelSyncable> (T entity) → Future< void> -
logCustomOperation(
{required String entityType, required String entityId, required SyncOperation operation, required Map< String, dynamic> data, bool isFileToUpload = false}) → Future<void> -
logDelete<
T extends SyncModelSyncable> (T entity) → Future< void> -
logUpdate<
T extends SyncModelSyncable> (T entity) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeLog(
String id) → Future< void> -
setLastError(
String id, String error) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited