Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

color the lines of logcat on Linux [android]

The Logcat in Eclipse has colors for errors, warning, debug, ...
How can I do to get the same result on Linux (Ubuntu) when I run the command 'adb -e logcat' in a terminal to get it colored?

like image 221
Sephy Avatar asked Jul 29 '10 09:07

Sephy


People also ask

What is adb Logcat in Android?

Android logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that are written by applications with the "Log" class.


2 Answers

Link with script

I think it will be useful for you and you can change script by yourself;)

like image 149
Yaroslav Boichuk Avatar answered Oct 22 '22 02:10

Yaroslav Boichuk


adb logcat -v color

from developer.android.com

like image 22
I'm SuperMan Avatar answered Oct 22 '22 02:10

I'm SuperMan