mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-07-03 23:06:37 +00:00
chore[hotswap]: log
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user