Reputation: 1759
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 time
every 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
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