8 #include <libsig_comp.h>
10 void eFatal(const char* fmt, ...);
14 enum { lvlDebug=1, lvlWarning=2, lvlFatal=4 };
16 extern Signal2<void, int, const eString&> logOutput;
17 extern int logOutputConsole;
24 void eDebug(const char* fmt, ...);
25 void eDebugNoNewLine(const char* fmt, ...);
26 void eWarning(const char* fmt, ...);
27 #define ASSERT(x) { if (!(x)) eFatal("%s:%d ASSERTION %s FAILED!", __FILE__, __LINE__, #x); }
29 inline void eDebug(const char* fmt, ...)
33 inline void eDebugNoNewLine(const char* fmt, ...)
37 inline void eWarning(const char* fmt, ...)
40 #define ASSERT(x) do { } while (0)