aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/ProxyConnectionTestThread.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-03 13:43:55 +0000
committerSaturneric <[email protected]>2023-02-03 13:43:55 +0000
commit11d32517c2f6f538209c893c6b0b24572fba1a36 (patch)
tree0dac14bcad75d9c7c5b5723dc23e6409721966b4 /src/ui/thread/ProxyConnectionTestThread.cpp
parentfeat: change logging framework to spdlog (diff)
downloadGpgFrontend-11d32517c2f6f538209c893c6b0b24572fba1a36.tar.gz
GpgFrontend-11d32517c2f6f538209c893c6b0b24572fba1a36.zip
feat: change the log style in source files
Diffstat (limited to 'src/ui/thread/ProxyConnectionTestThread.cpp')
-rw-r--r--src/ui/thread/ProxyConnectionTestThread.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/thread/ProxyConnectionTestThread.cpp b/src/ui/thread/ProxyConnectionTestThread.cpp
index 062f4774..068afedf 100644
--- a/src/ui/thread/ProxyConnectionTestThread.cpp
+++ b/src/ui/thread/ProxyConnectionTestThread.cpp
@@ -31,13 +31,13 @@ void GpgFrontend::UI::ProxyConnectionTestThread::run() {
auto proxies_list = QNetworkProxyFactory::systemProxyForQuery(npq);
if (proxies_list.isEmpty()) {
- LOG(INFO) << "no proxy applied";
+ SPDLOG_INFO("no proxy applied");
} else {
- LOG(INFO) << "proxies list hostname"
- << proxies_list.front().hostName().toStdString();
+ SPDLOG_INFO("proxies list hostname: {}",
+ proxies_list.front().hostName().toStdString());
}
- LOG(INFO) << "proxies list size" << proxies_list.size();
+ SPDLOG_INFO("proxies list size: {}", proxies_list.size());
auto manager = std::make_unique<QNetworkAccessManager>(nullptr);
QNetworkRequest url_request;