Reputation: 1619
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: ", );
}
Upvotes: 5
Views: 361
Reputation: 1619
So to add template you have to follow several simple steps:
Official documentation is here.
public void doSmth() {
Log.e(TAG, "doSmth failed: ");
}
Upvotes: 7