I'm tired of cleaning it with a button. Using a command would be easier or automatic. Is there a command to clear it in ECLIPSE? I do not mean the command in CMD, but in eclipse, shortcuts.
Using the command line, write the following command:
adb logcat -c
I hope this works :)
This link will give you a complete list of options for adb
http://developer.android.com/tools/help/logcat.html