void outputFunc(const char* msg, int len) { g_logFile->append(msg, len); }
void MyAsyncOutput(const char* msg, int len) { g_asyncLog->append(msg, len); }