Application interface provides simple logging facilities that give granular control. A message can be a normal info message, an error message with an optional exception or a debug message:

    1. Gdx.app.log("MyTag", "my informative message");Gdx.app.error("MyTag", "my error message", exception);Gdx.app.debug("MyTag", "my debug message");

    TextArea provided in the GwtApplicationConfiguration or created automatically (html5). Logging can be limited to a specific logging level:

    1. Gdx.app.setLogLevel(logLevel);

    logLevel can be one of the following values:

    • - Prev | Next