@Override
    public Object intercept(Invocation invocation) throws Throwable {
        if (internalLogger.isTraceEnabled()) {
            internalLogger.trace("target:" + invocation.getTarget()
                    + " method:" + invocation.getMethod() + " args:" + Arrays.toString(invocation.getArgs()));
        }
        try {
            return invocation.proceed();
        } finally {
            bindingLog(invocation);
        }
    }
Plugin for printing out the bind variables of {@link java.sql.PreparedStatement} and {@link java.sql.CallableStatement} with Query string.
format of Query string can be changed with {@link BindLogFormatter}.
base implementation is {@link DefaultBindingLogFormatter}.
removeWhitespace option is supported

@author emeroad
commons-mybatis/src/main/java/com/navercorp/pinpoint/mybatis/plugin/BindingLogPlugin.java