Log classpath in log window

This commit is contained in:
Glavo 2021-10-15 23:54:05 +08:00 committed by Yuhui Huang
parent 16952f5695
commit 59e1a470e3
2 changed files with 2 additions and 1 deletions

View File

@ -638,7 +638,7 @@ public final class LauncherHelper {
String classpath = process.getClasspath();
if (classpath != null) {
LOG.info("Process CLASSPATH: " + classpath);
LOG.info("Process ClassPath: " + classpath);
}
if (showLogs)

View File

@ -207,6 +207,7 @@ public class GameCrashWindow extends Stage {
LogWindow logWindow = new LogWindow();
logWindow.logLine("Command: " + new CommandBuilder().addAll(managedProcess.getCommands()).toString(), Log4jLevel.INFO);
logWindow.logLine("ClassPath: " + managedProcess.getClasspath(), Log4jLevel.INFO);
for (Map.Entry<String, Log4jLevel> entry : logs)
logWindow.logLine(entry.getKey(), entry.getValue());