Skip to content

Commit

Permalink
Make logs actually mean something
Browse files Browse the repository at this point in the history
  • Loading branch information
meiron03 committed Mar 22, 2024
1 parent ac53287 commit fb3a99f
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class LaundryViewModel : ViewModel() {
rooms.add(room)
true
} else {
Log.i("Laundry Test", "fuck2")
Log.i("Laundry", "Failed to get room data")
false
}
}
Expand All @@ -79,7 +79,7 @@ class LaundryViewModel : ViewModel() {
usages.add(usageResponse.body()!!)
true
} else {
Log.i("Laundry Test", "fuck3")
Log.i("Laundry", "Failed to get usage data")
false
}
}
Expand Down Expand Up @@ -107,7 +107,7 @@ class LaundryViewModel : ViewModel() {
favoriteIdList.add(room)
}
} else {
Log.i("Laundry Test", "fuck")
Log.i("Laundry", "Failed to get preferences")
}
populateFavorites(coroutineContext, studentLife, favoriteIdList)
}
Expand Down Expand Up @@ -159,10 +159,8 @@ class LaundryViewModel : ViewModel() {
laundryHalls.add(hallName)
laundryRooms[hallName] = roomList
}

Log.i("Laundry Test", "yay")
} else {
Log.i("Laundry Test", "Yeah riperoni")
Log.i("Laundry", "Failed to get laundry rooms")
}

_loadedRooms.postValue(true)
Expand Down

0 comments on commit fb3a99f

Please sign in to comment.