Home > front end >  Java Slick2D cmd output
Java Slick2D cmd output

Time:05-15

Is there any way to disable automatic Slick2D info output to CMD window showing line INFO:Use Java PNG Loader = true every time it is used?

Besides being pretty annoying it also breaks my formatted CMD output design!

CodePudding user response:

Just add this to your code of the class that is using Slick2D:

static {
    org.newdawn.slick.util.Log.setVerbose(false);
}
  • Related