Logcat neden etiket "IMS" ile başladığında bir günlük yazdırmıyor?Logcat neden etiket "IMS" ile başladığında bir günlük yazdırmıyor?
@Override
public void onClick(View v) {
switch (v.getId()) {
case R.id.btnOne:
System.out.println("Button One log by sout");
Log.e("IMSfsadfasdfasdf", "log by Log.e()");
break;
case R.id.btnTwo:
System.out.println("Button Two log by sout");
Log.e("MService", "log by Log.e()");
break;
}
}
Giriş:
04-07 15:05:48.838 4363-4363/com.licheedev.myapplication I/System.out: Button One log by sout
04-07 15:05:49.916 4363-4363/com.licheedev.myapplication I/System.out: Button Two log by sout
04-07 15:05:49.916 4363-4363/com.licheedev.myapplication E/MService: log by Log.e()
04-07 15:05:54.109 4363-4363/com.licheedev.myapplication I/System.out: Button Two log by sout
04-07 15:05:54.109 4363-4363/com.licheedev.myapplication E/MService: log by Log.e()
04-07 15:05:54.822 4363-4363/com.licheedev.myapplication I/System.out: Button One log by sout
04-07 15:05:55.638 4363-4363/com.licheedev.myapplication I/System.out: Button One log by sout
Ekran Görüntüsü:
Bu garip. Uygulamamda da denedim. Basmadı! – camelCaseCoder
Oturumunuzu kontrol edin: Tag name ......... Bu, – sushildlh
Evet, garip olarak bahsettiğiniz ile aynı ad olmalıdır. Şimdi benim app de gösteriliyor. –