void ePythonOutput(const char *string) { #ifdef DEBUG // Only show message when the debug level is at least "warning" if (debugLvl >= lvlWarning) eDebugImpl(_DBGFLG_NONEWLINE, "%s", string); #endif }
void ePythonOutput(const char *string) { #ifdef DEBUG int lvl = lvlWarning; // FIXME: get level info from python // Only show message when the debug level is low enough if (lvl <= debugLvl) eDebugImpl(_DBGFLG_NONEWLINE, string); #endif }