Pankaj Kumar
Pankaj Kumar

Reputation: 82938

Log in android development

I am using android.util.Logfor logging purposes in my Android application. In short my code is as

import android.util.Log;
...
private static final String TAG = "myActivity"; // Creating a tag 
...
public void onCreate(Bundle savedInstanceState) {
....
          Log.i(TAG,"My INFO_msg should be print ");
} 

The problem is that, when my application runs, this LOG message doesn't appear on the console window. Is it printed on another window ? If my work is to print LOG messages on console window then what will be the process.

Upvotes: 0

Views: 1888

Answers (1)

maid450
maid450

Reputation: 7486

You can find it in the LogCat window (Window > Show view > Other, Android > Logcat)

Upvotes: 5

Related Questions