summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber')
-rw-r--r--Slimber/MainController.cpp2
-rw-r--r--Slimber/MenuletController.cpp1
-rw-r--r--Slimber/Server.cpp4
3 files changed, 2 insertions, 5 deletions
diff --git a/Slimber/MainController.cpp b/Slimber/MainController.cpp
index 90a1b94..dcec6d5 100644
--- a/Slimber/MainController.cpp
+++ b/Slimber/MainController.cpp
@@ -6,8 +6,6 @@
#include <Slimber/MainController.h>
-#include <iostream>
-
#include <boost/bind.hpp>
#include <boost/lexical_cast.hpp>
diff --git a/Slimber/MenuletController.cpp b/Slimber/MenuletController.cpp
index 5868128..fdf2fc7 100644
--- a/Slimber/MenuletController.cpp
+++ b/Slimber/MenuletController.cpp
@@ -6,7 +6,6 @@
#include <Slimber/MenuletController.h>
-#include <iostream>
#include <string>
#include <Swiften/Base/foreach.h>
diff --git a/Slimber/Server.cpp b/Slimber/Server.cpp
index ff5f883..7e24abe 100644
--- a/Slimber/Server.cpp
+++ b/Slimber/Server.cpp
@@ -6,11 +6,11 @@
#include <Slimber/Server.h>
-#include <iostream>
#include <string>
#include <boost/bind.hpp>
+#include <Swiften/Base/Log.h>
#include <Swiften/Base/String.h>
#include <Swiften/Base/foreach.h>
#include <Swiften/Elements/IQ.h>
@@ -306,7 +306,7 @@ void Server::handleLinkLocalElementReceived(std::shared_ptr<ToplevelElement> ele
void Server::handleConnectFinished(std::shared_ptr<LinkLocalConnector> connector, bool error) {
if (error) {
- std::cerr << "Error connecting" << std::endl;
+ SWIFT_LOG(warning) << "Error connecting" << std::endl;
// TODO: Send back queued stanzas
}
else {