chore[hotswap]: log

This commit is contained in:
godotg
2024-03-28 14:48:22 +08:00
parent cfc41181e3
commit e7a9ad3054
@@ -98,9 +98,9 @@ public abstract class HotSwapUtils {
// Byte Buddy hot update
var instrumentation = ByteBuddyAgent.install();
instrumentation.redefineClasses(new ClassDefinition(clazz, bytes));
logger.info("ByteBuddy hot update [{}] succeeded", clazz);
logger.info("ByteBuddy hot update class:[{}] succeeded", clazz.getName());
} catch (Throwable t) {
logger.error("ByteBuddy hot update [{}] failed", clazz);
logger.error("ByteBuddy hot update class:[{}] failed", clazz.getName());
}
}