Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6819ced6 authored by Ian Coolidge's avatar Ian Coolidge Committed by Android Git Automerger
Browse files

am c9f59fd5: Merge "Restore LOG_NDEBUG condition on verbose logging."

* commit 'c9f59fd5':
  Restore LOG_NDEBUG condition on verbose logging.
parents 36756b11 c9f59fd5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -39,7 +39,11 @@

#include <cutils/log.h>

#if LOG_NDEBUG
#define LOG_VERBOSE(...) ((void)0)
#else  // LOG_NDEBUG
#define LOG_VERBOSE(tag, fmt, args...) ALOG(LOG_VERBOSE, tag, fmt, ## args)
#endif  // !LOG_NDEBUG
#define LOG_DEBUG(tag, fmt, args...)   ALOG(LOG_DEBUG, tag, fmt, ## args )
#define LOG_INFO(tag, fmt, args...)    ALOG(LOG_INFO, tag, fmt, ## args)
#define LOG_WARN(tag, fmt, args...)    ALOG(LOG_WARN, tag, fmt, ## args)