top.wboost.common.log.entity.Logger.isDebugEnabled()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(427)

本文整理了Java中top.wboost.common.log.entity.Logger.isDebugEnabled()方法的一些代码示例,展示了Logger.isDebugEnabled()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isDebugEnabled()方法的具体详情如下:
包路径:top.wboost.common.log.entity.Logger
类名称:Logger
方法名:isDebugEnabled

Logger.isDebugEnabled介绍

暂无

代码示例

代码示例来源:origin: top.wboost/common-web

public HttpRequestBuilder addParameter(final String name, final String value, Boolean canEmpty) {
  if ((!canEmpty) && (!StringUtil.notEmpty(value))) {
    if (log.isDebugEnabled()) {
      log.debug("{} cant empty and value is empty. ignore", name);
      return this;
    }
  }
  return addParameter(new BasicNameValuePair(name, value));
}

代码示例来源:origin: top.wboost/common-web

/**
 * 方法执行之前
 * @param joinPoint 目标类连接点对象
 */
@Before("explainParameterAspect()")
public void beforeAop(JoinPoint joinPoint) {
  Object[] args = joinPoint.getArgs();
  MethodSignature methodSignature = ((MethodSignature) joinPoint.getSignature());
  Method domethod = methodSignature.getMethod();
  if (log.isDebugEnabled()) {
    log.debug("checkPatameter for {}", domethod);
  }
  manager.checkParameter(domethod, args);
}

代码示例来源:origin: top.wboost/common-boost

@Override
@Explain(exceptionCode = 0, value = "boost")
public ModelAndView handle(HttpServletRequest request, HttpServletResponse response) {
  if (log.isDebugEnabled()) {
    log.debug("boostHandler handle...");
  }
  return handleInternal(request, response);
}

相关文章