mirror of
https://github.com/KjellKod/g3log.git
synced 2025-01-19 08:46:42 +01:00
merging heads
--HG-- branch : merge
This commit is contained in:
commit
7de3c5fe78
@ -132,7 +132,7 @@ namespace g2 {
|
||||
error << "FATAL CALL but logger is NOT initialized\n"
|
||||
<< "SIGNAL: " << message.get()->signal()
|
||||
<< "\nMessage: \n" << message.get()->toString() << std::flush;
|
||||
std::cerr << error << std::flush;
|
||||
std::cerr << error.str() << std::flush;
|
||||
internal::exitWithDefaultSignalHandler(message.get()->_signal_id);
|
||||
}
|
||||
|
||||
|
@ -13,7 +13,7 @@ using namespace g2;
|
||||
|
||||
namespace testing_helpers {
|
||||
|
||||
std::string g_mockFatal_message = {};
|
||||
std::string g_mockFatal_message{};
|
||||
int g_mockFatal_signal = -1;
|
||||
bool g_mockFatalWasCalled = false;
|
||||
|
||||
@ -43,7 +43,7 @@ namespace testing_helpers {
|
||||
|
||||
|
||||
void clearMockFatal() {
|
||||
g_mockFatal_message = {};
|
||||
g_mockFatal_message.clear();
|
||||
g_mockFatal_signal = -1;
|
||||
g_mockFatalWasCalled = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user