diff options
Diffstat (limited to 'Sluift/ElementConvertors')
-rw-r--r-- | Sluift/ElementConvertors/DOMElementConvertor.cpp | 1 | ||||
-rw-r--r-- | Sluift/ElementConvertors/DefaultElementConvertor.cpp | 5 | ||||
-rw-r--r-- | Sluift/ElementConvertors/RawXMLElementConvertor.cpp | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/Sluift/ElementConvertors/DOMElementConvertor.cpp b/Sluift/ElementConvertors/DOMElementConvertor.cpp index 1e0e1bb..c03eb8c 100644 --- a/Sluift/ElementConvertors/DOMElementConvertor.cpp +++ b/Sluift/ElementConvertors/DOMElementConvertor.cpp @@ -6,7 +6,6 @@ #include <Sluift/ElementConvertors/DOMElementConvertor.h> -#include <iostream> #include <memory> #include <lua.hpp> diff --git a/Sluift/ElementConvertors/DefaultElementConvertor.cpp b/Sluift/ElementConvertors/DefaultElementConvertor.cpp index f422139..75e6706 100644 --- a/Sluift/ElementConvertors/DefaultElementConvertor.cpp +++ b/Sluift/ElementConvertors/DefaultElementConvertor.cpp @@ -6,10 +6,11 @@ #include <Sluift/ElementConvertors/DefaultElementConvertor.h> -#include <iostream> #include <string> #include <typeinfo> +#include <Swiften/Base/Log.h> + using namespace Swift; DefaultElementConvertor::DefaultElementConvertor() { @@ -19,7 +20,7 @@ DefaultElementConvertor::~DefaultElementConvertor() { } std::shared_ptr<Element> DefaultElementConvertor::convertFromLua(lua_State*, int, const std::string& type) { - std::cerr << "Warning: Unable to convert type '" << type << "'" << std::endl; + SWIFT_LOG(warning) << "Unable to convert type '" << type << "'" << std::endl; return std::shared_ptr<Element>(); } diff --git a/Sluift/ElementConvertors/RawXMLElementConvertor.cpp b/Sluift/ElementConvertors/RawXMLElementConvertor.cpp index a8ccb91..9688677 100644 --- a/Sluift/ElementConvertors/RawXMLElementConvertor.cpp +++ b/Sluift/ElementConvertors/RawXMLElementConvertor.cpp @@ -6,7 +6,6 @@ #include <Sluift/ElementConvertors/RawXMLElementConvertor.h> -#include <iostream> #include <memory> #include <lua.hpp> |