Android Studio生成 Log快捷键
作者:
Anne_胖达 | 来源:发表于
2020-03-27 11:05 被阅读0次生成TAG
logt+Tab
private static final String TAG = "Peace";
生成Log.d()
logd+Tab
Log.d(TAG, "onCreate: ");
生成Log.e()
loge+Tab
Log.e(TAG, "onCreate: ",);
生成Log.i()或Log.w()
logi/w+Tab
Log.i(TAG, "onCreate: ");
Log.w(TAG, "onCreate: ", );
打印方法参数
logm+Tab
Log.d(TAG, "initView() called with: v = [" + v + "]");
打印方法返回值
logr+Tab
Log.d(TAG, "getList() returned: " + );
本文标题:Android Studio生成 Log快捷键
本文链接:https://www.haomeiwen.com/subject/uixluhtx.html
网友评论