Reduce amount of logged info

This commit is contained in:
Kirill Kamakin
2021-11-14 18:46:36 +03:00
parent 0bf1d0fd38
commit 9401539ee9
2 changed files with 10 additions and 2 deletions

View File

@@ -18,4 +18,8 @@ data class RecipeEntity(
@ColumnInfo(name = "rating") val rating: Int?,
@ColumnInfo(name = "date_added") val dateAdded: LocalDate,
@ColumnInfo(name = "date_updated") val dateUpdated: LocalDateTime
)
) {
override fun toString(): String {
return "RecipeEntity(localId=$localId, remoteId=$remoteId, name='$name')"
}
}

View File

@@ -17,4 +17,8 @@ data class GetRecipeSummaryResponse(
@SerialName("rating") val rating: Int?,
@SerialName("dateAdded") val dateAdded: LocalDate,
@SerialName("dateUpdated") val dateUpdated: LocalDateTime
)
) {
override fun toString(): String {
return "GetRecipeSummaryResponse(remoteId=$remoteId, name='$name')"
}
}