LibGDX logging not showing up in logcat

前端 未结 2 1247
[愿得一人]
[愿得一人] 2021-01-17 09:21

I cannot get LibGDX logging to work in Android Studio. First i thought I had the same problem as my previous question but made sure my app updated on debug.

         


        
2条回答
  •  北荒
    北荒 (楼主)
    2021-01-17 10:24

    The default Log level is LOG_INFO. For the Gdx.app.debug call to work, you must first call Gdx.app.setLogLevel(Application.LOG_DEBUG); once (probably the first line in your Game's constructor so you can easily change it).

提交回复
热议问题