diff options
Diffstat (limited to 'source/core/StarException_windows.cpp')
-rw-r--r-- | source/core/StarException_windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarException_windows.cpp b/source/core/StarException_windows.cpp index 54254d4..87d9ed6 100644 --- a/source/core/StarException_windows.cpp +++ b/source/core/StarException_windows.cpp @@ -233,7 +233,7 @@ void fatalError(char const* message, bool showStackTrace) { if (showStackTrace) ss << outputStack(captureStack()); - Logger::error(ss.str().c_str()); + Logger::log(LogLevel::Error, ss.str().c_str()); MessageBoxW(NULL, stringToUtf16(ss.str()).get(), stringToUtf16("Error").get(), MB_OK | MB_ICONERROR | MB_SYSTEMMODAL); std::abort(); @@ -245,7 +245,7 @@ void fatalException(std::exception const& e, bool showStackTrace) { if (showStackTrace) ss << "Caught at:" << std::endl << outputStack(captureStack()); - Logger::error(ss.str().c_str()); + Logger::log(LogLevel::Error, ss.str().c_str()); MessageBoxW(NULL, stringToUtf16(ss.str()).get(), stringToUtf16("Error").get(), MB_OK | MB_ICONERROR | MB_SYSTEMMODAL); std::abort(); |