feat: add log in startup of ContractProcess

add log to show that the contract process is started as debug mode
This commit is contained in:
Frank.R.Wu 2021-12-08 16:09:57 +08:00
parent 3d7a145ca2
commit dda6a04d9a
2 changed files with 1 additions and 1 deletions

View File

@ -99,6 +99,7 @@ public class ContractProcess {
} else if (arg.startsWith("-cmi")) {
cmi = arg.substring(5);
} else if (arg.startsWith("-debug")) {
LOGGER.info("log level: debug");
Configurator.setRootLevel(Level.DEBUG);
} else if (arg.startsWith("-disablePID")) {
pidInput = new ByteArrayInputStream("CP PID:-1".getBytes(StandardCharsets.UTF_8));

View File

@ -468,7 +468,6 @@ public class DesktopEngine extends JSEngine {
// long start = System.currentTimeMillis();
for (AnnotationHook handler : fun.beforeExecutionAnnotations()) {
ret = handler.handle(input, this, ret);
}
// actually invoke!