mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-10 12:26:16 -04:00
Log classpath in log window
This commit is contained in:
parent
16952f5695
commit
59e1a470e3
@ -638,7 +638,7 @@ public final class LauncherHelper {
|
|||||||
|
|
||||||
String classpath = process.getClasspath();
|
String classpath = process.getClasspath();
|
||||||
if (classpath != null) {
|
if (classpath != null) {
|
||||||
LOG.info("Process CLASSPATH: " + classpath);
|
LOG.info("Process ClassPath: " + classpath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (showLogs)
|
if (showLogs)
|
||||||
|
@ -207,6 +207,7 @@ public class GameCrashWindow extends Stage {
|
|||||||
LogWindow logWindow = new LogWindow();
|
LogWindow logWindow = new LogWindow();
|
||||||
|
|
||||||
logWindow.logLine("Command: " + new CommandBuilder().addAll(managedProcess.getCommands()).toString(), Log4jLevel.INFO);
|
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)
|
for (Map.Entry<String, Log4jLevel> entry : logs)
|
||||||
logWindow.logLine(entry.getKey(), entry.getValue());
|
logWindow.logLine(entry.getKey(), entry.getValue());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user