Spring Boot, Java, Debugging, Programming, Technology.
import java.util.Arrays; @Around("applicationPackagePointcut()") public Object logMethodCall(ProceedingJoinPoint joinPoint) throws Throwable { String methodInfo = joinPoint.getSignature().toShortString() + " args: " + Arrays.toString(joinPoint.getArgs()); logger.info("Method call: {}", methodInfo);