Last active
October 5, 2020 20:33
-
-
Save magdamiu/4e2f646ccbf803742aa7b3d60f0fd284 to your computer and use it in GitHub Desktop.
Methods from Log class applied
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LogSampleActivity extends AppCompatActivity { | |
private static final String TAG = "LogSampleActivity"; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_lifecycle_test); | |
Log.e(TAG, "onCreate"); | |
Log.w(TAG, "onCreate"); | |
Log.i(TAG, "onCreate"); | |
Log.v(TAG, "onCreate"); | |
Log.d(TAG, "onCreate"); | |
Log.wtf(TAG, "onCreate"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment