Files
javaGUItoolkit/src/guiTree/Helper/Debugger.java
Macocian Adrian Radu 202610764b added merge tu grid Panel
moved borders to external components
added text field for one line with select
2020-04-27 17:32:34 +03:00

26 lines
515 B
Java

package guiTree.Helper;
public class Debugger {
public enum Tag {
LISTENER(true),
PAINTING(false),
FPS(false),
ANIMATIONS(false),
PARSING(false);
public boolean value;
Tag(boolean value) {
this.value = value;
}
}
private static Timer timer = new Timer();
public static void log(String message, Tag tag) {
if(tag.value) {
System.out.println("[" + tag.toString() + "] " + message);
}
}
}