Saturday, 15 January 2011

java - LibGDX logging not showing up in logcat -



java - LibGDX logging not showing up in logcat -

i cannot libgdx logging work in android studio. first thought had same problem previous question made sure app updated on debug.

playbutton.addlistener(new changelistener() { @override public void changed(changeevent event, actor actor) { gdx.app.debug("button", "playbutton pressed"); optionbutton.addaction(actions.moveby(-200, 0, 2)); } });

the test action on alternative button carried out cannot debug log show up.

the default log level log_info. gdx.app.debug phone call work, must first phone call gdx.app.setloglevel(application.log_debug); 1 time (probably first line in game's constructor can alter it).

java android android-studio libgdx

No comments:

Post a Comment