|
|
|
|
@ -1142,6 +1142,9 @@ class Bond {
|
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
void log(const char* fmt, ...) |
|
|
|
|
#ifdef __GNUC__ |
|
|
|
|
__attribute__((format(printf, 2, 3))) |
|
|
|
|
#endif |
|
|
|
|
{ |
|
|
|
|
#ifdef ZT_TRACE |
|
|
|
|
time_t rawtime; |
|
|
|
|
@ -1171,6 +1174,9 @@ class Bond {
|
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
void debug(const char* fmt, ...) |
|
|
|
|
#ifdef __GNUC__ |
|
|
|
|
__attribute__((format(printf, 2, 3))) |
|
|
|
|
#endif |
|
|
|
|
{ |
|
|
|
|
#ifdef ZT_DEBUG |
|
|
|
|
time_t rawtime; |
|
|
|
|
|