diff options
Diffstat (limited to 'include/cutils/log.h')
-rw-r--r-- | include/cutils/log.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/cutils/log.h b/include/cutils/log.h index 0a011fe..9a2ad63 100644 --- a/include/cutils/log.h +++ b/include/cutils/log.h @@ -111,12 +111,12 @@ extern "C" { /* * Simplified macro to send an info log message using the current LOG_TAG. */ -#ifndef LOGI -#define LOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__)) +#ifndef ALOGI +#define ALOGI(...) ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__)) #endif -#ifndef LOGI_IF -#define LOGI_IF(cond, ...) \ +#ifndef ALOGI_IF +#define ALOGI_IF(cond, ...) \ ( (CONDITION(cond)) \ ? ((void)ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__)) \ : (void)0 ) @@ -176,8 +176,8 @@ extern "C" { * Conditional based on whether the current LOG_TAG is enabled at * info priority. */ -#ifndef IF_LOGI -#define IF_LOGI() IF_ALOG(LOG_INFO, LOG_TAG) +#ifndef IF_ALOGI +#define IF_ALOGI() IF_ALOG(LOG_INFO, LOG_TAG) #endif /* |