Change log messages in Engine#shutdown

This commit is contained in:
JeremyStar™ 2024-06-10 21:50:34 +02:00
parent 8c697b8e58
commit e9c44d903e
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -175,11 +175,11 @@ public final class Engine {
*/
public void shutdown(@Range(from = 0, to = 255) int exitCode) {
logger.info("Shutting engine down");
logger.verb("Notifiying classes");
logger.verb("Notifiying classes about shutdown");
new EngineShutdownEvent().callEvent();
logger.verb("Notifying subsystems");
logger.verb("Notifying subsystems about shutdown");
new InternalEngineShutdownEvent().callEvent();
logger.verb("Shutting down");
logger.verb("Shutting down JVM with code " + exitCode);
Runtime.getRuntime().exit(exitCode);
}