Make the debug logging switch actually do something

Pretty much disables everything except for [Pre-Init] and [Init], as well as Renderer Init Success. Toggle debug logging off to see.

regLog(message) -> logs all the time
debugLog(message) -> logs only when debug logging is enabled
This commit is contained in:
Adam Tunnic committed 2022-03-13 21:23:02 -04:00
1 parent c343b80bd8
commit 70c150af38
7 files changed
+82 -78

No files matched your search

@@ -51,7 +51,7 @@ public final class Tools
public static final Gson GLOBAL_GSON = new GsonBuilder().setPrettyPrinting().create();
public static final String URL_HOME = "https://pojavlauncherteam.github.io/PojavLauncher";
public static final String URL_HOME = "https://pojav.ml";
public static String DIR_BUNDLE = System.getenv("BUNDLE_PATH"); // path to "PojavLauncher.app"
public static String CURRENT_ARCHITECTURE;
@@ -96,7 +96,7 @@ public final class Tools
String[] launchArgs = getMinecraftArgs(profile, versionInfo);
System.out.println("Minecraft Args: " + Arrays.toString(launchArgs));
// System.out.println("Minecraft Args: " + Arrays.toString(launchArgs));
final String launchClassPath = generateLaunchClassPath(profile.selectedVersion);