2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 08:27:42 +00:00

Athena error handling tweak

This commit is contained in:
Jack Andersen
2015-11-22 17:09:46 -10:00
parent a443b6df73
commit a19bc6827c
4 changed files with 12 additions and 6 deletions

View File

@@ -218,10 +218,16 @@ struct HECLApplicationCallback : boo::IApplicationCallback
}
};
void AthenaExcHandler(const Athena::error::Level& level,
void AthenaExcHandler(Athena::error::Level level,
const char* file, const char* function,
int line, const char* fmt, ...)
{}
{
static LogVisor::LogModule Log("heclTest::AthenaExcHandler");
va_list ap;
va_start(ap, fmt);
Log.reportSource(LogVisor::Level(level), file, line, fmt, ap);
va_end(ap);
}
#if _WIN32
int wmain(int argc, const boo::SystemChar** argv)