summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d3e8f6b)
Signed-off-by: David Goulet <dgoulet@efficios.com>
#define __lttng_print(type, fmt, args...) \
do { \
if (opt_quiet == 0) { \
#define __lttng_print(type, fmt, args...) \
do { \
if (opt_quiet == 0) { \
- if (type == PRINT_MSG || \
- ((type & PRINT_DBG) && opt_verbose == 1) || \
+ if (type == PRINT_MSG) { \
+ fprintf(stdout, fmt, ## args); \
+ } else if (((type & PRINT_DBG) && opt_verbose == 1) || \
((type & (PRINT_DBG | PRINT_DBG2)) && \
opt_verbose == 2) || \
((type & (PRINT_DBG | PRINT_DBG2 | PRINT_DBG3)) && \
((type & (PRINT_DBG | PRINT_DBG2)) && \
opt_verbose == 2) || \
((type & (PRINT_DBG | PRINT_DBG2 | PRINT_DBG3)) && \