Skip to content

Instantly share code, notes, and snippets.

@htr
Created September 19, 2010 17:26
Show Gist options
  • Save htr/586950 to your computer and use it in GitHub Desktop.
Save htr/586950 to your computer and use it in GitHub Desktop.
adb's logcat output colorizer
~/.android-sdk/tools/adb logcat | awk '/^D\// {print "\033[34m" } /^I\// { print "\033[32m" } /^W\// {print "\033[1;33m"} /^[EF]\// {print "\033[1;31m"} {printf "%s %s %s", systime() ," ",$0,"\033[0m"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment