diff options
author | Nilesh Gharde <ngharde@codeaurora.org> | 2020-09-18 13:49:34 +0530 |
---|---|---|
committer | Nilesh Gharde <ngharde@codeaurora.org> | 2020-09-18 17:14:15 +0530 |
commit | c8afcf7321d58c241a333804f13cbd2c57f854af (patch) | |
tree | 448786124fb2a1d58be86891c63ae4213affe5bd /utils | |
parent | 38f4c4138dc4bbbe537be1aeba7eebc58c3469b0 (diff) |
Enable syslog on sa8155 for logging
Change-Id: I63965fb980c7902b09c61052f0ec5f16e7df62d1
CRs-fixed: 2781125
Diffstat (limited to 'utils')
-rw-r--r-- | utils/log_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/log_util.h b/utils/log_util.h index 957f284..26387e9 100644 --- a/utils/log_util.h +++ b/utils/log_util.h @@ -52,7 +52,7 @@ #endif /* LOG_TAG */ // LE targets with no logcat support -#ifdef FEATURE_EXTERNAL_AP +#if defined(FEATURE_EXTERNAL_AP) || defined(USE_SYSLOG_LOGGING) #include <syslog.h> #define ALOGE(...) syslog(LOG_ERR, "LOC_LOGE: " __VA_ARGS__); #define ALOGW(...) syslog(LOG_WARNING, "LOC_LOGW: " __VA_ARGS__); |