android log code example
Example 1: android studio log usage
Log.e(String, String);
Log.w(String, String);
Log.i(String, String);
Log.d(String, String);
Log.v(String, String);
Example 2: android java log
Button: Log.i("Info", "Example of info (like Button Pressed)");
Plain Text: Log.i("Username", usernameEditText.getText().toString());
Example 3: logcat android
Logcat is a command-line tool that dumps a log of system messages,
including stack traces when the device throws an error and messages
that you have written from your app with the Log class.
Example 4: making Log in android
Log.i("The place or function from where log is made","The log text to show");