Skip to content

Commit

Permalink
Revert "Disable debug messages in non debug builds"
Browse files Browse the repository at this point in the history
This reverts commit 14d29f4.
  • Loading branch information
bebehei committed Jan 21, 2018
1 parent 1acfca1 commit 2f95e89
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@
#define LOG_W g_warning
#define LOG_M g_message
#define LOG_I g_info

#ifdef DEBUG_BUILD
#define LOG_D(...) g_debug(__VA_ARGS__)
#else
#define LOG_D(...)
#endif
#define LOG_D g_debug

#define die(...) {LOG_C(__VA_ARGS__); exit(EXIT_FAILURE);}

Expand Down

0 comments on commit 2f95e89

Please sign in to comment.