parent
71892a6fa7
commit
10ebcbbdaa
@ -4,7 +4,7 @@ message("AsyncLogger")
|
||||
FetchContent_Declare(
|
||||
AsyncLogger
|
||||
GIT_REPOSITORY https://github.com/Yimura/AsyncLogger.git
|
||||
GIT_TAG v0.0.5
|
||||
GIT_TAG v0.0.6
|
||||
GIT_PROGRESS TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(AsyncLogger)
|
||||
|
@ -40,6 +40,7 @@ namespace big
|
||||
if (const auto it = logged_exceptions.find(trace_hash); it == logged_exceptions.end())
|
||||
{
|
||||
LOG(FATAL) << trace;
|
||||
Logger::FlushQueue();
|
||||
|
||||
logged_exceptions.insert(trace_hash);
|
||||
}
|
||||
|
Reference in New Issue
Block a user