Improve log

This commit is contained in:
Benoit Marty 2021-02-08 18:42:49 +01:00 committed by Benoit Marty
parent 440d01c552
commit e069e196af
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ internal class InitialSyncResponseParser @Inject constructor(private val moshi:
fun parse(syncStrategy: InitialSyncStrategy.Optimized, workingFile: File): SyncResponse { fun parse(syncStrategy: InitialSyncStrategy.Optimized, workingFile: File): SyncResponse {
val syncResponseLength = workingFile.length().toInt() val syncResponseLength = workingFile.length().toInt()
Timber.v("Sync file size is $syncResponseLength bytes") Timber.v("INIT_SYNC Sync file size is $syncResponseLength bytes")
val shouldSplit = syncResponseLength >= syncStrategy.minSizeToSplit val shouldSplit = syncResponseLength >= syncStrategy.minSizeToSplit
Timber.v("INIT_SYNC should split in several files: $shouldSplit") Timber.v("INIT_SYNC should split in several files: $shouldSplit")
return getMoshi(syncStrategy, workingFile, shouldSplit) return getMoshi(syncStrategy, workingFile, shouldSplit)