The Android Debugging Bridge (ADB) is a command line tool that allows communication between an Android device and development tools. There are 5 types of logs that can be outputted to the logging system: verbose, debug, information, warning, and error. Logcat is used to view the logs and acts as a "cat" or concatenation of the logs from the logging system. An example is provided of using Toast to display a message when a fragment is destroyed.
2. Android Debugging Bridge (ADB)
a command line tool available in Android SDK
using to connect between a device and the
development tools
adb
3. Log
?? Fire out something to logging system
?? There are 5 types of logging
??v(String, String)?(verbose)
??d(String, String)?(debug)
??i(String, String)?(information)
??w(String, String)?(warning)
??e(String, String)?(error)
Logging
System