mirror of https://github.com/AxioDL/logvisor.git
Force console logger registration on Fatal
This commit is contained in:
parent
073cf1473b
commit
2352699c65
|
@ -204,6 +204,8 @@ public:
|
|||
{
|
||||
auto lk = LockLog();
|
||||
++_LogCounter;
|
||||
if (severity == Fatal)
|
||||
RegisterConsoleLogger();
|
||||
for (auto& logger : MainLoggers)
|
||||
{
|
||||
va_list apc;
|
||||
|
@ -242,6 +244,8 @@ public:
|
|||
{
|
||||
auto lk = LockLog();
|
||||
++_LogCounter;
|
||||
if (severity == Fatal)
|
||||
RegisterConsoleLogger();
|
||||
for (auto& logger : MainLoggers)
|
||||
{
|
||||
va_list apc;
|
||||
|
|
Loading…
Reference in New Issue