aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppUtils.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-03-08 19:44:20 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-03-08 19:44:20 +0000
commitd1765ee554d21cb947eed3fbf1aa9073ff962443 (patch)
tree7064c86d355581e8a63fe77d54d6e74bc6580b1e /source/QXmppUtils.cpp
parent7ac9d13564742f06d8e82dff6871e54f4a5f260d (diff)
downloadqxmpp-d1765ee554d21cb947eed3fbf1aa9073ff962443.tar.gz
rework QXmppLogger again
Diffstat (limited to 'source/QXmppUtils.cpp')
-rw-r--r--source/QXmppUtils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/QXmppUtils.cpp b/source/QXmppUtils.cpp
index dbd62bb8..430b34d0 100644
--- a/source/QXmppUtils.cpp
+++ b/source/QXmppUtils.cpp
@@ -24,6 +24,7 @@
#include "QXmppUtils.h"
#include "QXmppLogger.h"
+#include <QDebug>
#include <QString>
#include <QXmlStreamWriter>
#include <QByteArray>
@@ -118,12 +119,12 @@ void helperToXmlAddTextElement(QXmlStreamWriter* stream, const QString& name,
void log(const QString& str)
{
- *QXmppLogger::getLogger() << str;
+ QXmppLogger::getLogger()->debug() << str;
}
void log(const QByteArray& str)
{
- *QXmppLogger::getLogger() << str;
+ QXmppLogger::getLogger()->debug() << str;
}
QString escapeString(const QString& str)