GUI: Always show thread name for fatal messages (#11090)

This commit is contained in:
Eladash
2021-10-31 14:24:41 +02:00
committed by GitHub
parent 5b0ef401f7
commit e31173e33e
+1 -1
View File
@@ -60,7 +60,7 @@ struct gui_listener : logs::listener
packet_t p,* _new = &p;
_new->sev = msg;
if (show_prefix && !prefix.empty())
if ((msg >= logs::level::fatal || show_prefix) && !prefix.empty())
{
_new->msg += "{";
_new->msg += prefix;