diff options
author | Vishal Mahaveer | 2015-03-25 13:41:52 -0500 |
---|---|---|
committer | Gerrit Code Review | 2015-03-25 13:46:23 -0500 |
commit | f8df435c9936f632c4aea63316eafa569bcbbc52 (patch) | |
tree | 033d549d7e6348c52b4cf72eb70bef3a447298b0 | |
parent | 3a2e659dfe7b212bc262ca93353305c95ccf37bb (diff) | |
download | repo-libdce-f8df435c9936f632c4aea63316eafa569bcbbc52.tar.gz repo-libdce-f8df435c9936f632c4aea63316eafa569bcbbc52.tar.xz repo-libdce-f8df435c9936f632c4aea63316eafa569bcbbc52.zip |
[TRACE] Add tag to Android logs
By default Android tag is empty, define one for libdce
Change-Id: Ide10001092cc529c935f1387774f3b9afc4f1d1f
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r-- | dce_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -67,6 +67,7 @@ extern int dce_debug; | |||
67 | 67 | ||
68 | #elif defined BUILDOS_ANDROID | 68 | #elif defined BUILDOS_ANDROID |
69 | #include <utils/Log.h> | 69 | #include <utils/Log.h> |
70 | #define LOG_TAG "libdce" | ||
70 | #define TRACE(lvl,FMT, ...) do if ((lvl) <= dce_debug) { \ | 71 | #define TRACE(lvl,FMT, ...) do if ((lvl) <= dce_debug) { \ |
71 | ALOGE("%s:%d:\t%s\t Error: "FMT,__FILE__, __LINE__,__FUNCTION__ ,##__VA_ARGS__); \ | 72 | ALOGE("%s:%d:\t%s\t Error: "FMT,__FILE__, __LINE__,__FUNCTION__ ,##__VA_ARGS__); \ |
72 | }while( 0 ) | 73 | }while( 0 ) |