flinklib
flinklib: flink C library for Linux
log.h File Reference

Debug utilities. More...

#include <stdio.h>
Include dependency graph for log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRINT_ERRORS_TO_STDERR   1
 
#define DEBUG   0
 
#define dbg_print(fmt, ...)   do { if(DEBUG) { printf("[flinklib] DEBUG: "); printf(fmt, ##__VA_ARGS__); } } while(0)
 

Detailed Description

Debug utilities.

Author
Martin Z├╝ger

Definition in file log.h.

Macro Definition Documentation

#define dbg_print (   fmt,
  ... 
)    do { if(DEBUG) { printf("[flinklib] DEBUG: "); printf(fmt, ##__VA_ARGS__); } } while(0)

Definition at line 29 of file log.h.

#define DEBUG   0

Definition at line 27 of file log.h.

#define PRINT_ERRORS_TO_STDERR   1

Definition at line 26 of file log.h.