summaryrefslogtreecommitdiffstats
path: root/liblog/logprint.c
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-03-01 09:11:54 -0800
committerJoe Onorato <joeo@android.com>2010-03-01 13:03:19 -0800
commite2bf2ea4d2846031edfc52b942ad53e5467243f6 (patch)
tree76fa7dca61684d78c93755986db60a3a6d3731e4 /liblog/logprint.c
parentb91bf4ba864a392412397913ee09a8c1f2e7cc87 (diff)
downloadsystem_core-e2bf2ea4d2846031edfc52b942ad53e5467243f6.zip
system_core-e2bf2ea4d2846031edfc52b942ad53e5467243f6.tar.gz
system_core-e2bf2ea4d2846031edfc52b942ad53e5467243f6.tar.bz2
Make logcat print both the main and system buffers by default. Make SLOGx macros work.
Diffstat (limited to 'liblog/logprint.c')
-rw-r--r--liblog/logprint.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/liblog/logprint.c b/liblog/logprint.c
index 080f9e3..5ddda36 100644
--- a/liblog/logprint.c
+++ b/liblog/logprint.c
@@ -840,7 +840,7 @@ char *android_log_formatLogLine (
* Returns count bytes written
*/
-int android_log_filterAndPrintLogLine(
+int android_log_printLogLine(
AndroidLogFormat *p_format,
int fd,
const AndroidLogEntry *entry)
@@ -850,11 +850,6 @@ int android_log_filterAndPrintLogLine(
char *outBuffer = NULL;
size_t totalLen;
- if (0 == android_log_shouldPrintLine(p_format, entry->tag,
- entry->priority)) {
- return 0;
- }
-
outBuffer = android_log_formatLogLine(p_format, defaultBuffer,
sizeof(defaultBuffer), entry, &totalLen);