10 CONSOLE_COLOR_START = 0,
11 BLACK = CONSOLE_COLOR_START,
27 WHITE = CONSOLE_COLOR_END
55 namespace platformAPI {
61 const _nout std::string&
foreColor(consoleColor fore);
68 const _nout std::string&
backColor(consoleColor back);
74 _nout std::string
createNowTime(
const std::string& strftime_format);
82 _nout std::vector<std::string>
callstack();
89 _nout std::string
demangle(
const nchar* org);
110 _nout std::string
exec(
const std::string& cmd);
112 _nout nuint64 getNowMs();
119 _nout std::string
toAddrId(
const void* inst);
121 _nout
void log(
const std::string& msg);
122 _nout
void log(
const std::string* it);
128 _nout std::string
format(
const nchar* fmt, ...);
130 _nout std::string
format(
const nchar* fmt, va_list args);
131 _nout std::string
format(
const std::string& fmt, va_list args);
132 _nout std::string
format(
const std::string* fmt, va_list args);
138 _nout
void crash(
const nchar* msg, ...);
140 _nout
void crash(
const std::string& msg, va_list args);
141 _nout
void crash(
const std::string* msg, va_list args);
142 _nout
void crash(
const std::string& msg);
143 _nout
void crash(
const std::string* msg);