-
Notifications
You must be signed in to change notification settings - Fork 2
Logging and Debugging
MicahCarrick edited this page Sep 5, 2012
·
1 revision
The log level is set in the create() method of the Agenthon application listener. LOG_ERROR should be used during development and changed to LOG_ERROR for stable releases.
Gdx.app.setLogLevel(Application.LOG_DEBUG);
All classes should use the TAG "Agenthon" for simple application-wide filtering.
...
public static final String TAG = "Agenthon";
...
Gdx.Application.debug(TAG, "This is a debug message.");
...
The logcat command can then be used to filter all Agenthon debug messages.
adb logcat Agenthon:D *:F