Laurynas
Laurynas

Reputation: 1

running logcat on Eclipse

I searched through whole internet but I still don't understand how I need to set up logCat what it would run. Could someone help with this?

Upvotes: 0

Views: 577

Answers (2)

CommonsWare
CommonsWare

Reputation: 1006539

In the main menu, choose Window > Open Perspective > Other. In the dialog that appears, choose DDMS. LogCat will be the tool at the bottom of that perspective (by default -- you can reposition it).

Upvotes: 3

Michele
Michele

Reputation: 6131

Logcat usage is tagbased. You develop your Application and when you want to log something you say:

Log.i("CUSTOM", "getting old data!");

then you go into Logcat and define a Custom Filter, there is an option to filter by TAG. This is the first parameter on your Log.i call, so for example you define a filter for your "CUSTOM"-Tag. Now you have a new tab in your logcat that holds all your CUSTOM-logmessages.

hope that helps

Upvotes: 0

Related Questions