I wonder to add changed "loge" template in the Android Studio editor to remove the last required param - Exception object. How "loge" template result looks now:
Before the dafualt template insert:
public void doSmth() {
//start write "loge" word here
}
After the dafualt template insert:
public void doSmth() {
Log.e(TAG, "doSmth: ", );
}
So to add template you have to follow several simple steps:
Official documentation is here .
public void doSmth() {
Log.e(TAG, "doSmth failed: ");
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.