aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/debug.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-01-13 18:01:22 +0900
committersatok <satok@google.com>2012-01-13 18:04:15 +0900
commit9fb6f47a6a11f62d134d4d6259181ac987fc1ad3 (patch)
tree309f0c4d304fe7fb278d7debb8f5e7473fe6a5db /native/src/debug.h
parentb960477952101633d053b459e669db46d3234ac3 (diff)
downloadlatinime-9fb6f47a6a11f62d134d4d6259181ac987fc1ad3.tar.gz
latinime-9fb6f47a6a11f62d134d4d6259181ac987fc1ad3.tar.xz
latinime-9fb6f47a6a11f62d134d4d6259181ac987fc1ad3.zip
New LOG lib
Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe
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);
}