Android Logging

Logging will be really helpful for debugging. Below are the types of logs that can be used in Android Development.

  • Verbose- Should never be compiled except during development
  • Debug - They are compiled but are stripped
  • Info, Warn and Error- Will be always available

Verbose mode provides and show all the logs level


  • Verbose - log.v(logtag,logmessage)
  • Debug - log.d(logtag,logmessage)
  • Info - log.i(logtag,logmessage)
  • Warn - log.w(logtag,logmessage)
  • Error - log.e(logtag,logmessage)