#include <string>
#include <map>
#include <new>
#include <libsig_comp.h>
Go to the source code of this file.
|
#define | NULL 0 |
|
#define | CHECKFORMAT __attribute__ ((__format__(__printf__, 2, 3))) |
|
#define | DEFAULT_DEBUG_LVL 4 |
|
#define | MAX_DEBUG_LEVEL 0 |
|
#define | eDebugLow(lvl, flags, ...) |
|
#define | _DBGFLG_NONEWLINE 1 |
|
#define | _DBGFLG_NOTIME 2 |
|
#define | _DBGFLG_FATAL 4 |
|
#define | eFatal(...) eDebugLow(lvlFatal, _DBGFLG_FATAL, __VA_ARGS__) |
|
#define | eLog(lvl, ...) eDebugLow(lvl, 0, ##__VA_ARGS__) |
|
#define | eLogNoNewLineStart(lvl, ...) eDebugLow(lvl, _DBGFLG_NONEWLINE, ##__VA_ARGS__) |
|
#define | eLogNoNewLine(lvl, ...) eDebugLow(lvl, _DBGFLG_NOTIME | _DBGFLG_NONEWLINE, ##__VA_ARGS__) |
|
#define | eWarning(...) eDebugLow(lvlWarning, 0, __VA_ARGS__) |
|
#define | eDebug(...) eDebugLow(lvlDebug, 0, __VA_ARGS__) |
|
#define | eDebugNoNewLineStart(...) eDebugLow(lvlDebug, _DBGFLG_NONEWLINE, __VA_ARGS__) |
|
#define | eDebugNoNewLine(...) eDebugLow(lvlDebug, _DBGFLG_NOTIME | _DBGFLG_NONEWLINE, __VA_ARGS__) |
|
#define | eTrace(...) eDebugLow(lvlTrace, 0, ##__VA_ARGS__) |
|
#define | eTraceNoNewLineStart(...) eDebugLow(lvlTrace, _DBGFLG_NONEWLINE, ##__VA_ARGS__) |
|
#define | eTraceNoNewLine(...) eDebugLow(lvlTrace, _DBGFLG_NOTIME | _DBGFLG_NONEWLINE, ##__VA_ARGS__) |
|
#define | ASSERT(x) { if (!(x)) eFatal("%s:%d ASSERTION %s FAILED!", __FILE__, __LINE__, #x); } |
|
◆ _DBGFLG_FATAL
◆ _DBGFLG_NONEWLINE
#define _DBGFLG_NONEWLINE 1 |
◆ _DBGFLG_NOTIME
◆ ASSERT
#define ASSERT |
( |
|
x | ) |
{ if (!(x)) eFatal("%s:%d ASSERTION %s FAILED!", __FILE__, __LINE__, #x); } |
◆ CHECKFORMAT
#define CHECKFORMAT __attribute__ ((__format__(__printf__, 2, 3))) |
◆ DEFAULT_DEBUG_LVL
#define DEFAULT_DEBUG_LVL 4 |
◆ eDebug
◆ eDebugLow
#define eDebugLow |
( |
|
lvl, |
|
|
|
flags, |
|
|
|
... |
|
) |
| |
Value: do { \
eDebugImpl((flags), __VA_ARGS__); \
} while (0)
#define MAX_DEBUG_LEVEL
Definition: eerror.h:125
int debugLvl
Definition: eerror.cpp:79
◆ eDebugNoNewLine
◆ eDebugNoNewLineStart
◆ eFatal
◆ eLog
#define eLog |
( |
|
lvl, |
|
|
|
... |
|
) |
| eDebugLow(lvl, 0, ##__VA_ARGS__) |
◆ eLogNoNewLine
◆ eLogNoNewLineStart
◆ eTrace
◆ eTraceNoNewLine
◆ eTraceNoNewLineStart
◆ eWarning
◆ MAX_DEBUG_LEVEL
#define MAX_DEBUG_LEVEL 0 |
◆ NULL
◆ anonymous enum
Enumerator |
---|
lvlTrace | |
lvlDebug | |
lvlInfo | |
lvlWarning | |
lvlError | |
lvlFatal | |
◆ eDebugImpl()
void CHECKFORMAT eDebugImpl |
( |
int |
flags, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ eGetEnigmaDebugLvl()
int eGetEnigmaDebugLvl |
( |
| ) |
|
◆ ePythonOutput()
void ePythonOutput |
( |
const char * |
string, |
|
|
int |
lvl = lvlDebug |
|
) |
| |
◆ debugLvl