summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Client')
-rw-r--r--Swiften/Client/ClientSessionStanzaChannel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Client/ClientSessionStanzaChannel.cpp b/Swiften/Client/ClientSessionStanzaChannel.cpp
index f1cba5d..f48b306 100644
--- a/Swiften/Client/ClientSessionStanzaChannel.cpp
+++ b/Swiften/Client/ClientSessionStanzaChannel.cpp
@@ -6,10 +6,10 @@
#include <Swiften/Client/ClientSessionStanzaChannel.h>
-#include <iostream>
-
#include <boost/bind.hpp>
+#include <Swiften/Base/Log.h>
+
namespace Swift {
ClientSessionStanzaChannel::~ClientSessionStanzaChannel() {
@@ -49,7 +49,7 @@ std::string ClientSessionStanzaChannel::getNewIQID() {
void ClientSessionStanzaChannel::send(std::shared_ptr<Stanza> stanza) {
if (!isAvailable()) {
- std::cerr << "Warning: Client: Trying to send a stanza while disconnected." << std::endl;
+ SWIFT_LOG(warning) << "Client: Trying to send a stanza while disconnected." << std::endl;
return;
}
session->sendStanza(stanza);