aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/debug.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-01-13 11:14:05 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-13 11:14:05 -0800
commit53d4dd39e9e0a5a0e0a2de1f0dd09bf0bd51f6ef (patch)
tree309f0c4d304fe7fb278d7debb8f5e7473fe6a5db /native/src/debug.h
parent4341d5ef32b4e723a35f1b037efb02eb369a97b8 (diff)
parent9fb6f47a6a11f62d134d4d6259181ac987fc1ad3 (diff)
downloadlatinime-53d4dd39e9e0a5a0e0a2de1f0dd09bf0bd51f6ef.tar.gz
latinime-53d4dd39e9e0a5a0e0a2de1f0dd09bf0bd51f6ef.tar.xz
latinime-53d4dd39e9e0a5a0e0a2de1f0dd09bf0bd51f6ef.zip
am 9fb6f47a: New LOG lib
* commit '9fb6f47a6a11f62d134d4d6259181ac987fc1ad3': New LOG lib
Diffstat (limited to 'native/src/debug.h')
-rw-r--r--native/src/debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/debug.h b/native/src/debug.h
index 38b2f107a..b13052c95 100644
--- a/native/src/debug.h
+++ b/native/src/debug.h
@@ -42,7 +42,7 @@ static inline unsigned char* convertToUnibyteStringAndReplaceLastChar(unsigned s
static inline void LOGI_S16(unsigned short* string, const unsigned int length) {
unsigned char tmp_buffer[length];
convertToUnibyteString(string, tmp_buffer, length);
- LOGI(">> %s", tmp_buffer);
+ AKLOGI(">> %s", tmp_buffer);
// The log facility is throwing out log that comes too fast. The following
// is a dirty way of slowing down processing so that we can see all log.
// TODO : refactor this in a blocking log or something.
@@ -53,7 +53,7 @@ static inline void LOGI_S16_PLUS(unsigned short* string, const unsigned int leng
unsigned char c) {
unsigned char tmp_buffer[length+1];
convertToUnibyteStringAndReplaceLastChar(string, tmp_buffer, length, c);
- LOGI(">> %s", tmp_buffer);
+ AKLOGI(">> %s", tmp_buffer);
// Likewise
// usleep(10);
}
@@ -64,7 +64,7 @@ static inline void printDebug(const char* tag, int* codes, int codesSize, int MA
buf[codesSize] = 0;
while (--codesSize >= 0)
buf[codesSize] = (unsigned char)codes[codesSize * MAX_PROXIMITY_CHARS];
- LOGI("%s, WORD = %s", tag, buf);
+ AKLOGI("%s, WORD = %s", tag, buf);
free(buf);
}