diff options
author | Pierre Zurek <pierrezurek@gmail.com> | 2010-10-17 22:39:37 +0200 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-09-11 19:04:17 -0700 |
commit | ead88fca6e7178ed8b6e89701a5842a3e34a0a3f (patch) | |
tree | a24b66fd9c0690b157cee915d570051059537839 /include | |
parent | 91baad56f39fb77a4d07a0930c8743ebc61d7c0a (diff) | |
download | system_core-ead88fca6e7178ed8b6e89701a5842a3e34a0a3f.tar.gz system_core-ead88fca6e7178ed8b6e89701a5842a3e34a0a3f.tar.bz2 system_core-ead88fca6e7178ed8b6e89701a5842a3e34a0a3f.zip |
liblog: logcat: colored output.
This patch adds a new '-v color' option to logcat so that the output is
colored similar to the ones in DDMS. Simply type "adb logcat -v color"
to use it. Works well with bash in gnome-terminal. NO GUARANTEE IT WILL
WORK ON A NON xterm STYLE TERMINAL.
Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Change-Id: I9189c5f27fed991579edbcbc6834536eb8112152
Diffstat (limited to 'include')
-rw-r--r-- | include/log/logprint.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/log/logprint.h b/include/log/logprint.h index 481c96e2e..1e42b4739 100644 --- a/include/log/logprint.h +++ b/include/log/logprint.h @@ -36,6 +36,7 @@ typedef enum { FORMAT_TIME, FORMAT_THREADTIME, FORMAT_LONG, + FORMAT_COLOR, } AndroidLogPrintFormat; typedef struct AndroidLogFormat_t AndroidLogFormat; |