MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / _logAssert

Function _logAssert

framework/logger.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void _logAssert(UString prefix, UString string, int line, UString file)
50{
51 Log(LogLevel::Error, prefix, format("%s:%d Assertion failed %s", file, line, string));
52 debug_trap();
53 exit(1);
54}
55
56void setLogCallback(LogFunction function)
57{

Callers

nothing calls this directly

Calls 3

LogFunction · 0.85
formatFunction · 0.85
debug_trapFunction · 0.85

Tested by

no test coverage detected