Logging - e-ucm/ead GitHub Wiki
To print log messages, we use libgdx logging.
Gdx.app.log("MyTag", "my informative message");
Gdx.app.error("MyTag", "my error message", exception);
Gdx.app.debug("MyTag", "my debug message");
We consider the following logging level definitions:
- serious stuff that should not be ignored:
error(important file not found, load failed, ...) - informative, low-frequency events ("game loaded") that indicate state changes should use
info(Gdx.app.log) - everything else:
debug