Plinio.Santos
Plinio.Santos

Reputation: 1759

Set the default adb logcat output format

I'm developing in a linux system (Ubuntu 12.04). My favorite output format is -v time, but it is annoying to have to type $ adb logcat -v timeevery time I want to see a log message.

So, my question is: is there a way to configure adb to output time format as default?

I've looking over internet for an environmental variable to set the preferred format, but so far I've no success.

Upvotes: 3

Views: 1590

Answers (1)

njzk2
njzk2

Reputation: 39386

use an alias.

alias myalias='adb logcat -v time'

(use whatever you prefer instead of myalias. First letters, for instance alvt)

And put it in your .bashrc

Upvotes: 3

Related Questions