From 4d2ce949b3b41f8bf0af446fa20205ddd229e579 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 3 Nov 2013 11:08:18 +0100 Subject: Use cutelogger for Rockbox Utility internal trace. Change tracing from qDebug() to use cutelogger, which is available under the LGPL2.1. This allows to automatically add filename and line number to the log, and also provides multiple log levels. Change-Id: I5dbdaf902ba54ea99f07ae10a07467c52fdac910 --- rbutil/rbutilqt/base/httpget.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rbutil/rbutilqt/base/httpget.h') diff --git a/rbutil/rbutilqt/base/httpget.h b/rbutil/rbutilqt/base/httpget.h index 2f6448a40d..8c62157e5f 100644 --- a/rbutil/rbutilqt/base/httpget.h +++ b/rbutil/rbutilqt/base/httpget.h @@ -25,6 +25,7 @@ #include #include #include +#include "Logger.h" class HttpGet : public QObject { @@ -49,13 +50,13 @@ class HttpGet : public QObject //< set global cache path static void setGlobalCache(const QDir& d) { - qDebug() << "[HttpGet] Global cache set to" << d.absolutePath(); + LOG_INFO() << "Global cache set to" << d.absolutePath(); m_globalCache = d; } //< set global proxy value static void setGlobalProxy(const QUrl& p) { - qDebug() << "[HttpGet] setting global proxy" << p; + LOG_INFO() << "setting global proxy" << p; if(!p.isValid() || p.isEmpty()) { HttpGet::m_globalProxy.setType(QNetworkProxy::NoProxy); } -- cgit v1.2.3