10 CONSOLE_COLOR_START = 0,
11 BLACK = CONSOLE_COLOR_START,
27 WHITE = CONSOLE_COLOR_END
53 namespace platformAPI {
59 const _nout std::string&
foreColor(consoleColor fore);
66 const _nout std::string&
backColor(consoleColor back);
72 _nout std::string
createNowTime(
const std::string& strftime_format);
80 _nout std::vector<std::string>
callstack();
86 _nout std::string
demangle(
const nchar* org);
106 _nout std::string
exec(
const std::string& cmd);
108 _nout nuint64 getNowMs();
115 _nout std::string
toAddrId(
const void* inst);
117 _nout
void log(
const std::string& msg);
118 _nout
void log(
const std::string* it);
124 _nout std::string
format(
const nchar* fmt, ...);
126 _nout std::string
format(
const nchar* fmt, va_list args);
127 _nout std::string
format(
const std::string& fmt, va_list args);
128 _nout std::string
format(
const std::string* fmt, va_list args);
134 _nout
void crash(
const nchar* msg, ...);
136 _nout
void crash(
const std::string& msg, va_list args);
137 _nout
void crash(
const std::string* msg, va_list args);
138 _nout
void crash(
const std::string& msg);
139 _nout
void crash(
const std::string* msg);