void AthenaExcHandler(athena::error::Level level, const char* file, const char* /*function*/, int line, const char* fmt, ...) { static logvisor::Module Log("heclTest::AthenaExcHandler"); va_list ap; va_start(ap, fmt); Log.reportSource(logvisor::Level(level), file, uint32_t(line), fmt, ap); va_end(ap); }
static void AthenaExc(athena::error::Level level, const char* file, const char*, int line, const char* fmt, ...) { va_list ap; va_start(ap, fmt); AthenaLog.reportSource(logvisor::Level(level), file, line, fmt, ap); va_end(ap); }