完成 Error定义和ErrorLog. 以及一些相关的东西
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include <Core/RuntimeTime.hpp>
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace Fig::Time
|
||||
{
|
||||
Clock::time_point start_time;
|
||||
void init()
|
||||
{
|
||||
static bool flag = false;
|
||||
if (flag)
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
start_time = Clock::now();
|
||||
flag = true;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user