When should I use each log level in Android Studio?

0

There are different levels of log in Android Studio, which perhaps, I say perhaps, is not very different in other IDE's. Basically they are the different way I can write a message in logcat . The types are VERBOSE , DEBUG , INFO , WARN , ERROR and ASSERT .

What does each of these mean? In what situations should I use them?

    
asked by anonymous 14.03.2017 / 13:26

1 answer

2

According to the official android studio help site, link , it is translated:

From the Record Level menu, select one of the following values:

  • Verbose - Shows all log messages (the default).
  • Debug - Shows debug log messages that are useful only during development, as well as the lowest message levels in this list.
  • Info - Shows expected log messages for regular use, as well as the lowest message levels in this list.
  • Prompt - Shows possible problems that are not yet errors, as well as the lower message levels in this list.
  • Error - Shows issues that caused errors as well as the lower message level in this list.
  • Assert - Shows issues that the developer expects never to happen.

That's it ...

    
14.03.2017 / 14:49