int logDebug(const char * format, ...) { va_list ap; va_start(ap, format); return logBase(LOGLEVEL_DEBUG, format, ap); }
int logInfo(const char * format, ...) { va_list ap; va_start(ap, format); return logBase(LOGLEVEL_INFO, format, ap); }
int logError(const char * format, ...) { va_list ap; va_start(ap, format); return logBase(LOGLEVEL_ERROR, format, ap); }
void logAbort(const char * format, ...) { va_list ap; va_start(ap, format); logBase(LOGLEVEL_FATAL, format, ap); exit(2); }
void logFatal(const CHAR8 *fileName, const UINT64 fileLine, const char* format, ...) { if(LOG_LEVEL_FATAL<= g_logConfig.level) { va_list valist; va_start(valist, format); logBase(LOG_LEVEL_FATAL, fileName, fileLine, format, valist); va_end(valist); } }