示例#1
0
文件: eerror.cpp 项目: kingvuplus/ops
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
}
示例#2
0
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
}