??????????????
?????????????Android?????????????????????????????????????LogCat?д??????????????н?????????????????android.util.Log?????????????????Log????????????????????????????ERROR??WARN??INFO??DEBUG??VERBOSE??????????????????????????????Log.e( )??Log.w( )??Log.i()??Log.d( )??Log.v( )????????????
??????????????д?????????????????

????package cn.class3g;
????import junit.framework.Assert;
????import android.test.AndroidTestCase;
????import android.util.Log;
????public class UserTest extendsAndroidTestCase{
????private static final StringTAG = "tag";
????public void testSave()throws Throwable{
????int i= 4+8;
????Log.i(TAG?? "i = " + i);
????Assert.assertEquals(5??i);
????}
????}

?????????
????Log.i(String tag??String msg);
????tag??????????????????????????????????????????????????????????????????????????????????????????????????????????????
????msg???ò?????????????????????? ?????????????????????????????