4.5. Libgdx operation log management, 4.5libgdx Operation Log

Source: Internet
Author: User
Tags libgdx

4.5. Libgdx operation log management, 4.5libgdx Operation Log

The Application interface provides a simple way to manage logs. Logs can contain info, error, and debug messages. Format: Gdx. app. log ("MyTag", "my informative message ");
Gdx. app. error ("MyTag", "my error message", exception );
Gdx. app. debug ("MyTag", "my debug message"); In Android, logs are output to logcat. You can set the log level by using the following methods: Gdx. app. setLogLevel (logLevel); logLevel can be the following values:
  • Application. LOG_NONE: stop logging all messages.
  • Application. LOG_DEBUG: records all messages.
  • Application. LOG_ERROR: only error messages are recorded.
  • Application. LOG_INFO: records errors and policy messages.
(Www.libgdx.cn is copyrighted. If you need to reprint it, indicate the source)

Why does eclipse fail to run programs when importing libgdx demos?
How to separate data packets from the installer in libgdx

1. when reading data, use external to read data, and put the data packet in the SD card. first of all, I think it's not surprising. In addition, you can use InputProcessor 3. first, you have a misunderstanding that hit () can be received by all actors. As long as it does not enter the level of touchDragged (), it will not be locked. You only need to judge in the hit () method, do not return this pointer
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.