|
version 1.1.1.1, 2013/01/17 10:05:35
|
version 1.1.1.1.2.5, 2013/02/04 16:42:31
|
|
Line 64 SUCH DAMAGE.
|
Line 64 SUCH DAMAGE.
|
| #include <elwix/avar.h> |
#include <elwix/avar.h> |
| #include <elwix/astr.h> |
#include <elwix/astr.h> |
| #include <elwix/aregex.h> |
#include <elwix/aregex.h> |
| #include <elwix/av.h> | #include <elwix/aav.h> |
| #include <elwix/anet.h> |
#include <elwix/anet.h> |
| |
|
| |
|
|
Line 147 extern int elwix_Verbose;
|
Line 147 extern int elwix_Verbose;
|
| #define e_incVerbose (elwix_Verbose++) |
#define e_incVerbose (elwix_Verbose++) |
| #define e_decVerbose (elwix_Verbose--) |
#define e_decVerbose (elwix_Verbose--) |
| |
|
| #define EVERBOSE(x) if ((x) <= elwix_Verbose) | #define EVERBS(x) if ((x) <= elwix_Verbose) |
| | #define EVERBOSE(x, fmt, ...) do { assert((fmt)); \ |
| | if ((x) <= elwix_Verbose) { \ |
| | char str[BUFSIZ] = { 0 }; \ |
| | snprintf(str, sizeof str, (fmt), ##__VA_ARGS__); \ |
| | syslog(LOG_DEBUG, "Verbose(%d):%s(%d): %s\n", \ |
| | (x), __func__, __LINE__, str); \ |
| | } \ |
| | } while (0) |
| |
|
| /* Debug macros */ |
/* Debug macros */ |
| extern int elwix_Debug; |
extern int elwix_Debug; |