summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SwifTools/Application/MacOSXApplicationPathProvider.cpp')
-rw-r--r--SwifTools/Application/MacOSXApplicationPathProvider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/SwifTools/Application/MacOSXApplicationPathProvider.cpp b/SwifTools/Application/MacOSXApplicationPathProvider.cpp
index 086bbaa..684d8b2 100644
--- a/SwifTools/Application/MacOSXApplicationPathProvider.cpp
+++ b/SwifTools/Application/MacOSXApplicationPathProvider.cpp
@@ -6,10 +6,10 @@
#include <SwifTools/Application/MacOSXApplicationPathProvider.h>
-#include <iostream>
-
#include <mach-o/dyld.h>
+#include <Swiften/Base/Log.h>
+
namespace Swift {
MacOSXApplicationPathProvider::MacOSXApplicationPathProvider(const std::string& name) : ApplicationPathProvider(name) {
@@ -23,7 +23,7 @@ boost::filesystem::path MacOSXApplicationPathProvider::getDataDir() const {
boost::filesystem::create_directory(result);
}
catch (const boost::filesystem::filesystem_error& e) {
- std::cerr << "ERROR: " << e.what() << std::endl;
+ SWIFT_LOG(error) << e.what() << std::endl;
}
return result;
}