O'Reilly logo

Learning AndEngine by Martin Varga

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debug output

The last option that we will learn about is using Android's debug output to LogCat. LogCat is an Android logger that can be accessed through the adb tool, and it is available in Eclipse as well. Logging, in general, is a way to output text that a developer needs to see but should stay hidden from the user.

To open the LogCat tab, go to Window | Show View | Others… and search for LogCat.

If an Android device is already connected, LogCat will immediately show some log messages. The following screenshot shows an example of what a LogCat output looks like:

Debug output

The log messages have the following attributes:

  • Log Level: This is the severity of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required