diff options
| author | Steve Block <steveblock@google.com> | 2012-01-06 14:13:42 +0000 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2012-01-08 11:03:26 +0000 |
| commit | 01dda204cd28fe181691b4a44a51be7e5666d0c8 (patch) | |
| tree | 99ef6d14b55ebf4e2752cd182052caad6eddc20a /include | |
| parent | 36afde3387fff9eac0e6d54854b8d43fe1ebb0cc (diff) | |
| download | system_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.tar.gz system_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.tar.bz2 system_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.zip | |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
Bug: 5449033
Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
Diffstat (limited to 'include')
| -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 fe0eb024..68948d51 100644 --- a/include/cutils/log.h +++ b/include/cutils/log.h @@ -139,12 +139,12 @@ extern "C" { /* * Simplified macro to send an error log message using the current LOG_TAG. */ -#ifndef LOGE -#define LOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__)) +#ifndef ALOGE +#define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__)) #endif -#ifndef LOGE_IF -#define LOGE_IF(cond, ...) \ +#ifndef ALOGE_IF +#define ALOGE_IF(cond, ...) \ ( (CONDITION(cond)) \ ? ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__)) \ : (void)0 ) @@ -192,8 +192,8 @@ extern "C" { * Conditional based on whether the current LOG_TAG is enabled at * error priority. */ -#ifndef IF_LOGE -#define IF_LOGE() IF_ALOG(LOG_ERROR, LOG_TAG) +#ifndef IF_ALOGE +#define IF_ALOGE() IF_ALOG(LOG_ERROR, LOG_TAG) #endif |
