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

Commit c9f59fd5 authored by Ian Coolidge's avatar Ian Coolidge Committed by Gerrit Code Review
Browse files

Merge "Restore LOG_NDEBUG condition on verbose logging."

parents a4d4a468 765df6e2
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)