mirror of https://github.com/AxioDL/logvisor.git
Humungous refactor
This commit is contained in:
parent
05e8742f5d
commit
db415516f6
|
@ -9,7 +9,7 @@
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
extern "C" void LogVisorBp();
|
extern "C" void logvisorBp();
|
||||||
|
|
||||||
namespace logvisor
|
namespace logvisor
|
||||||
{
|
{
|
||||||
|
@ -153,7 +153,7 @@ public:
|
||||||
va_end(apc);
|
va_end(apc);
|
||||||
}
|
}
|
||||||
if (severity == Error || severity == Fatal)
|
if (severity == Error || severity == Fatal)
|
||||||
LogVisorBp();
|
logvisorBp();
|
||||||
if (severity == Fatal)
|
if (severity == Fatal)
|
||||||
abort();
|
abort();
|
||||||
else if (severity == Error)
|
else if (severity == Error)
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#define FOREGROUND_WHITE FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE
|
#define FOREGROUND_WHITE FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void LogVisorBp() {}
|
void logvisorBp() {}
|
||||||
|
|
||||||
namespace logvisor
|
namespace logvisor
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue