mirror of
https://github.com/Alia5/GlosSI.git
synced 2024-11-10 19:10:46 +00:00
GlosSITarget: Popup log overlay element again on debug messages in debug builds
This commit is contained in:
parent
2044f05a69
commit
8628ce12a4
@ -213,8 +213,11 @@ void Overlay::showLogs()
|
||||
return (
|
||||
log.time.time_since_epoch() + std::chrono::seconds(
|
||||
LOG_RETENTION_TIME_) >
|
||||
std::chrono::system_clock::now().time_since_epoch()) &&
|
||||
(log.level > spdlog::level::debug);
|
||||
std::chrono::system_clock::now().time_since_epoch())
|
||||
#ifdef NDEBUG
|
||||
&& (log.level > spdlog::level::debug)
|
||||
#endif
|
||||
;
|
||||
});
|
||||
}
|
||||
if (logs.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user