类 LogbackImpl

java.lang.Object
com.cdkjframework.datasource.mybatis.LogbackImpl
所有已实现的接口:
org.apache.ibatis.logging.Log

public class LogbackImpl extends Object implements org.apache.ibatis.logging.Log
  • 构造器详细资料

    • LogbackImpl

      public LogbackImpl(String clazz)
      构造函数
      参数:
      clazz - 类
  • 方法详细资料

    • isDebugEnabled

      public boolean isDebugEnabled()
      是否为默认 Debug
      指定者:
      isDebugEnabled 在接口中 org.apache.ibatis.logging.Log
      返回:
      返回结果
    • isTraceEnabled

      public boolean isTraceEnabled()
      不打印结果集,要打印结果集需要把logback日志级别调为trace
      指定者:
      isTraceEnabled 在接口中 org.apache.ibatis.logging.Log
      返回:
      返回结果
    • error

      public void error(String message, Throwable throwable)
      错误日志
      指定者:
      error 在接口中 org.apache.ibatis.logging.Log
      参数:
      message - 消息
      throwable - 异常信息
    • error

      public void error(String message)
      错误日志信息
      指定者:
      error 在接口中 org.apache.ibatis.logging.Log
      参数:
      message - 消息
    • debug

      public void debug(String message)
      调试
      指定者:
      debug 在接口中 org.apache.ibatis.logging.Log
      参数:
      message - 消息
    • trace

      public void trace(String message)
      指定者:
      trace 在接口中 org.apache.ibatis.logging.Log
    • warn

      public void warn(String message)
      指定者:
      warn 在接口中 org.apache.ibatis.logging.Log