Skip to content

Commit

Permalink
Merge pull request #19 from zhanglijun1217/20231220/fix_mdc_cglib_tos…
Browse files Browse the repository at this point in the history
…tring
  • Loading branch information
stateIs0 authored Dec 21, 2023
2 parents d9c2906 + c39a3c0 commit b0153d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public MDCExpMethodInterceptor(String pluginId, Object target) {
public Object intercept(Object origin, Method method, Object[] objects, MethodProxy methodProxy) throws Throwable {
try {
if ("toString".equals(method.getName())) {
return target.hashCode();
return target.toString();
}
if ("hashcode".equals(method.getName())) {
return target.hashCode();
Expand Down

0 comments on commit b0153d2

Please sign in to comment.