Skip to content

Commit

Permalink
chore[hotswap]: log
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed Mar 28, 2024
1 parent cfc4118 commit e7a9ad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hotswap/src/main/java/com/zfoo/hotswap/util/HotSwapUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ private static void hotswapClassByByteBuddy(Class<?> clazz, byte[] bytes) {
// 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());
}
}

Expand Down

0 comments on commit e7a9ad3

Please sign in to comment.