Logging and Debugging - Quixotix/agenthon GitHub Wiki
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