Skip to content

Commit

Permalink
Bypassed detection in g3log.cpp (YimMenu#3)
Browse files Browse the repository at this point in the history
* Bypassed sig scan in g3log.cpp

* Bypassed sig scan in g3log.cpp
  • Loading branch information
aa15032261 authored Aug 7, 2022
1 parent a5a48f8 commit dab889d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/g3log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ namespace g3 {
if (isLoggingInitialized() && nullptr != active && (active != g_logger_instance)) {
LOG(WARNING) << "\n\t\tAttempted to shut down logging, but the ID of the Logger is not the one that is active."
<< "\n\t\tHaving multiple instances of the g3::LogWorker is likely a BUG"
<< "\n\t\tEither way, this call to shutDownLogging was ignored"
<< "\n\t\tEither way, this shutDownLogging call was ignored"
<< "\n\t\tTry g3::internal::shutDownLogging() instead";
return false;
}
Expand Down Expand Up @@ -179,7 +179,7 @@ namespace g3 {
if (g_fatal_hook_recursive_counter.load() > 1) {
message.get()->write()
.append("\n\n\nWARNING\n"
"A recursive crash detected. It is likely the hook set with 'setFatalPreLoggingHook(...)' is responsible\n\n")
"A recursive crash detected. Perhaps the hook set with 'setFatalPreLoggingHook(...)' is responsible\n\n")
.append("---First crash stacktrace: ").append(first_stack_trace).append("\n---End of first stacktrace\n");
}
FatalMessagePtr fatal_message { std::make_unique<FatalMessage>(*(message._move_only.get()), fatal_signal) };
Expand Down

0 comments on commit dab889d

Please sign in to comment.