ExtensionManager: Add logging

Log the network request, incl. result and response. And how many
extensions were fetched remotely and added locally.

Change-Id: I634d72462c8076c2fa01e88a1918163f76d28aff
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Alessandro Portale
2024-06-26 09:03:39 +02:00
parent 62e37eec42
commit ee1ae662b9
2 changed files with 10 additions and 1 deletions

View File

@@ -261,7 +261,9 @@ public:
void ExtensionsModelPrivate::setExtensions(const Extensions &extensions)
{
this->extensions = extensions;
qCDebug(modelLog) << "Number of extensions from json:" << this->extensions.count();
addUnlistedLocalExtensions();
qCDebug(modelLog) << "Number of extensions with added local ones:" << this->extensions.count();
}
void ExtensionsModelPrivate::addUnlistedLocalExtensions()