打印SQL记录子类:
org.apache.ibatis.logging.jdbc.PreparedStatementLogger extends BaseJdbcLogger implements InvocationHandler
org.apache.ibatis.logging.jdbc.ConnectionLogger extends BaseJdbcLogger implements InvocationHandler
org.apache.ibatis.logging.jdbc.ResultSetLogger extends BaseJdbcLogger implements InvocationHandler
org.apache.ibatis.logging.jdbc.StatementLogger extends BaseJdbcLogger implements InvocationHandler
打印SQL记录基类:
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.java
其中debug:
protected void debug(String text, boolean input) {
if (statementLog.isDebugEnabled()) {
statementLog.debug(prefix(input) + text);
}
}
调用的类有:
org.apache.ibatis.logging.jdbc.PreparedStatementLogger extends BaseJdbcLogger im