diff options
Diffstat (limited to 'SwifTools')
-rw-r--r-- | SwifTools/CrashReporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SwifTools/CrashReporter.cpp b/SwifTools/CrashReporter.cpp index f47ab33..47015df 100644 --- a/SwifTools/CrashReporter.cpp +++ b/SwifTools/CrashReporter.cpp @@ -1,13 +1,13 @@ /* - * Copyright (c) 2012-2013 Remko Tronçon + * Copyright (c) 2012-2014 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ - +#include <Swiften/Base/Log.h> #include <SwifTools/CrashReporter.h> #include <Swiften/Base/Platform.h> #include <Swiften/Base/Path.h> #if defined(HAVE_BREAKPAD) @@ -42,13 +42,13 @@ CrashReporter::CrashReporter(const boost::filesystem::path& path) { // Create the path that will contain the crash dumps if (!boost::filesystem::exists(path)) { try { boost::filesystem::create_directories(path); } catch (const boost::filesystem::filesystem_error& e) { - std::cerr << "ERROR: " << e.what() << std::endl; + SWIFT_LOG(error) << "ERROR: " << e.what() << std::endl; } } p = boost::make_shared<Private>(); #if defined(SWIFTEN_PLATFORM_WINDOWS) // FIXME: Need UTF8 conversion from string to wstring |