diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-22 21:06:36 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-22 21:06:58 +0900 |
commit | 53f3fe79ef91bb5ba318b61b3a073c12409abc72 (patch) | |
tree | d786b6016cf8f9980621ef2281b881cda6a9d438 | |
parent | 7f50a504c7c4b266f98d0a0f449e3025e7a263ea (diff) | |
download | libquotient-53f3fe79ef91bb5ba318b61b3a073c12409abc72.tar.gz libquotient-53f3fe79ef91bb5ba318b61b3a073c12409abc72.zip |
Connection: Log when a room state cache is written
-rw-r--r-- | lib/connection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 099d6a4e..7feeb075 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -1071,6 +1071,7 @@ void Connection::saveRoomState(Room* r) const auto data = d->cacheToBinary ? json.toBinaryData() : json.toJson(QJsonDocument::Compact); outRoomFile.write(data.data(), data.size()); + qCDebug(MAIN) << "Room state cache saved to" << outRoomFile.fileName(); } else { qCWarning(MAIN) << "Error opening" << outRoomFile.fileName() << ":" << outRoomFile.errorString(); |