Package org.apache.ibatis.logging.jdbc
Class BaseJdbcLogger
java.lang.Object
org.apache.ibatis.logging.jdbc.BaseJdbcLogger
- Direct Known Subclasses:
ConnectionLogger
,PreparedStatementLogger
,ResultSetLogger
,StatementLogger
Base class for proxies to do logging.
- Author:
- Clinton Begin, Eduardo Macarron
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected Object
protected String
protected String
protected boolean
protected boolean
protected String
objectValueString
(Object value) protected String
removeExtraWhitespace
(String original) protected void
protected void
-
Field Details
-
SET_METHODS
-
EXECUTE_METHODS
-
statementLog
-
queryStack
protected final int queryStack
-
-
Constructor Details
-
BaseJdbcLogger
-
-
Method Details
-
setColumn
-
getColumn
-
getParameterValueString
-
objectValueString
-
getColumnString
-
clearColumnInfo
protected void clearColumnInfo() -
removeExtraWhitespace
-
isDebugEnabled
protected boolean isDebugEnabled() -
isTraceEnabled
protected boolean isTraceEnabled() -
debug
-
trace
-