Skip to content

Commit eb06064

Browse files
committed
Add logging for files write
1 parent a6b17c8 commit eb06064

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

storage.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ QVariantMap Storage::readVMap(QString name)
5757

5858
void Storage::writeVList(QString name, const QVariantList &qvl)
5959
{
60+
LogStream("storage") << "writing " + name + " start";
6061
QJsonDocument doc;
6162
doc.setArray(QJsonArray::fromVariantList(qvl));
6263
writeJsonObject(name, doc);
64+
LogStream("storage") << "writing " + name + " done";
6365
}
6466

6567
QVariantList Storage::readVList(QString name)

0 commit comments

Comments
 (0)