diff options
author | Tuomas Virtanen <katajakasa@gmail.com> | 2018-03-26 01:51:16 +0300 |
---|---|---|
committer | Tuomas Virtanen <katajakasa@gmail.com> | 2018-03-26 01:51:16 +0300 |
commit | 1af119147925100600f655360b8199914e900d94 (patch) | |
tree | 80311ea0eff4118c008c19b39dbbd2fe5a4b0574 /include/kitchensink | |
parent | be594be5832e05d51cced3921dcdca05765f8460 (diff) |
Remove unneccessary logging
Diffstat (limited to 'include/kitchensink')
-rw-r--r-- | include/kitchensink/internal/utils/kitlog.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/kitchensink/internal/utils/kitlog.h b/include/kitchensink/internal/utils/kitlog.h index 56ff493..6b24763 100644 --- a/include/kitchensink/internal/utils/kitlog.h +++ b/include/kitchensink/internal/utils/kitlog.h @@ -3,11 +3,9 @@ #ifdef NDEBUG
#define LOG(...)
- #define LOGFLUSH()
#else
#include <stdio.h>
- #define LOG(...) fprintf(stderr, __VA_ARGS__)
- #define LOGFLUSH() fflush(stderr)
+ #define LOG(...) fprintf(stderr, __VA_ARGS__); fflush(stderr)
#endif
#endif // KITLOG_H
|