mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-15 14:16:45 +00:00
chore[hotswap]: log
This commit is contained in:
1 parent
cfc41181e3
commit
e7a9ad3054
1 file changed
+2
-2
@@ -98,9 +98,9 @@ public abstract class HotSwapUtils {
|
|||||||
// Byte Buddy hot update
|
// Byte Buddy hot update
|
||||||
var instrumentation = ByteBuddyAgent.install();
|
var instrumentation = ByteBuddyAgent.install();
|
||||||
instrumentation.redefineClasses(new ClassDefinition(clazz, bytes));
|
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) {
|
} 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