Class BaseJdbcLogger

java.lang.Object
org.apache.ibatis.logging.jdbc.BaseJdbcLogger
Direct Known Subclasses:
ConnectionLogger, PreparedStatementLogger, ResultSetLogger, StatementLogger

public abstract class BaseJdbcLogger extends Object
Base class for proxies to do logging.
Author:
Clinton Begin, Eduardo Macarron
  • Field Details Link icon

    • SET_METHODS Link icon

      protected static final Set<String> SET_METHODS
    • EXECUTE_METHODS Link icon

      protected static final Set<String> EXECUTE_METHODS
    • statementLog Link icon

      protected final Log statementLog
    • queryStack Link icon

      protected final int queryStack
  • Constructor Details Link icon

    • BaseJdbcLogger Link icon

      public BaseJdbcLogger(Log log, int queryStack)
  • Method Details Link icon

    • setColumn Link icon

      protected void setColumn(Object key, Object value)
    • getColumn Link icon

      protected Object getColumn(Object key)
    • getParameterValueString Link icon

      protected String getParameterValueString()
    • objectValueString Link icon

      protected String objectValueString(Object value)
    • getColumnString Link icon

      protected String getColumnString()
    • clearColumnInfo Link icon

      protected void clearColumnInfo()
    • removeExtraWhitespace Link icon

      protected String removeExtraWhitespace(String original)
    • isDebugEnabled Link icon

      protected boolean isDebugEnabled()
    • isTraceEnabled Link icon

      protected boolean isTraceEnabled()
    • debug Link icon

      protected void debug(String text, boolean input)
    • trace Link icon

      protected void trace(String text, boolean input)