Looks great. Thanks for this!
This commit is contained in:
parent
e9f8ecbf7e
commit
eea93d2607
2 changed files with 9 additions and 3 deletions
|
@ -1141,6 +1141,9 @@ class Bond {
|
|||
*
|
||||
*/
|
||||
void log(const char* fmt, ...)
|
||||
#ifdef __GNUC__
|
||||
__attribute__((format(printf, 2, 3)))
|
||||
#endif
|
||||
{
|
||||
#ifdef ZT_TRACE
|
||||
time_t rawtime;
|
||||
|
@ -1170,6 +1173,9 @@ class Bond {
|
|||
*
|
||||
*/
|
||||
void debug(const char* fmt, ...)
|
||||
#ifdef __GNUC__
|
||||
__attribute__((format(printf, 2, 3)))
|
||||
#endif
|
||||
{
|
||||
#ifdef ZT_DEBUG
|
||||
time_t rawtime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue