diff options
Diffstat (limited to 'Swiften/Parser/PresenceParser.cpp')
-rw-r--r-- | Swiften/Parser/PresenceParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Parser/PresenceParser.cpp b/Swiften/Parser/PresenceParser.cpp index 4a27a24..0235a12 100644 --- a/Swiften/Parser/PresenceParser.cpp +++ b/Swiften/Parser/PresenceParser.cpp @@ -6,10 +6,10 @@ #include <Swiften/Parser/PresenceParser.h> -#include <iostream> - #include <boost/optional.hpp> +#include <Swiften/Base/Log.h> + namespace Swift { PresenceParser::PresenceParser(PayloadParserFactoryCollection* factories) : @@ -41,7 +41,7 @@ void PresenceParser::handleStanzaAttributes(const AttributeMap& attributes) { getStanzaGeneric()->setType(Presence::Error); } else { - std::cerr << "Unknown Presence type: " << *type << std::endl; + SWIFT_LOG(error) << "Unknown Presence type: " << *type << std::endl; getStanzaGeneric()->setType(Presence::Available); } } |