8 #include <libsig_comp.h>
10 void eFatal(const char* fmt, ...);
12 enum { lvlDebug=1, lvlWarning=2, lvlFatal=4 };
15 extern Signal2<void, int, const std::string&> logOutput;
16 extern int logOutputConsole;
24 void eDebug(const char* fmt, ...);
25 void eDebugNoNewLine(const char* fmt, ...);
26 void eWarning(const char* fmt, ...);
28 #define ASSERT(x) { if (!(x)) eFatal("%s:%d ASSERTION %s FAILED!", __FILE__, __LINE__, #x); }
31 inline void eDebug(const char* fmt, ...)
35 inline void eDebugNoNewLine(const char* fmt, ...)
39 inline void eWarning(const char* fmt, ...)
42 #define ASSERT(x) do { } while (0)