10 lines
229 B
C++
10 lines
229 B
C++
#include "assert.h"
|
|
#include "log/Log.h"
|
|
#include "panic/hang.h"
|
|
|
|
bool __call_assert_fail(const char* function, const char* message)
|
|
{
|
|
KernelLog::logln(function, LogLevel::ERROR, "%s", message);
|
|
hang();
|
|
return true;
|
|
} |