Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
yechao committed Sep 3, 2023
1 parent e2ceec9 commit bbf4ea6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions app/src/main/java/com/yechaoa/gradlex/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@ package com.yechaoa.gradlex

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log

class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}

override fun onResume() {
super.onResume()

Log.v("yechaoa","onResume")
Log.d("yechaoa","onResume")
Log.i("yechaoa","onResume")
Log.w("yechaoa","onResume")
Log.e("yechaoa","onResume")
Log.wtf("yechaoa wtf","onResume by wtf")
}

}

0 comments on commit bbf4ea6

Please sign in to comment.