org.jclouds.logging.Logger.isDebugEnabled()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(5.4k)|赞(0)|评价(0)|浏览(203)

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

Logger.isDebugEnabled介绍

暂无

代码示例

代码示例来源:origin: jclouds/legacy-jclouds

public boolean enabled() {
 return getWireLog().isDebugEnabled();
}

代码示例来源:origin: io.cloudsoft.jclouds/jclouds-core

public boolean enabled() {
 return getWireLog().isDebugEnabled();
}

代码示例来源:origin: Nextdoor/bender

public boolean enabled() {
 return getWireLog().isDebugEnabled();
}

代码示例来源:origin: org.jclouds/jclouds-core

public boolean enabled() {
 return getWireLog().isDebugEnabled();
}

代码示例来源:origin: apache/jclouds

public boolean enabled() {
 return getWireLog().isDebugEnabled();
}

代码示例来源:origin: org.apache.jclouds.provider/aws-ec2

public Iterable<Image> call() {
 logger.debug(">> providing images");
 Builder<String, DescribeImagesOptions> builder = ImmutableMap.builder();
 for (String region : regions)
   builder.put(region, filters(filter));
 Iterable<Entry<String, DescribeImagesOptions>> queries = builder.build().entrySet();
 Iterable<Image> returnVal = filter(transform(describer.apply(queries), parser), Predicates.notNull());
 if (logger.isDebugEnabled())
   logger.debug("<< images(%s)", Iterables.size(returnVal));
 return returnVal;
}

代码示例来源:origin: io.cloudsoft.jclouds.provider/aws-ec2

public Iterable<Image> call() {
 logger.debug(">> providing images");
 Builder<String, DescribeImagesOptions> builder = ImmutableMap.builder();
 for (String region : regions)
   builder.put(region, filters(filter));
 Iterable<Entry<String, DescribeImagesOptions>> queries = builder.build().entrySet();
 Iterable<Image> returnVal = filter(transform(describer.apply(queries), parser), Predicates.notNull());
 if (logger.isDebugEnabled())
   logger.debug("<< images(%s)", Iterables.size(returnVal));
 return returnVal;
}

代码示例来源:origin: apache/jclouds

public Iterable<Image> call() {
 logger.debug(">> providing images");
 Builder<String, DescribeImagesOptions> builder = ImmutableMap.builder();
 for (String region : regions)
   builder.put(region, filters(filter));
 Iterable<Entry<String, DescribeImagesOptions>> queries = builder.build().entrySet();
 Iterable<Image> returnVal = filter(transform(describer.apply(queries), parser), Predicates.notNull());
 if (logger.isDebugEnabled())
   logger.debug("<< images(%s)", Iterables.size(returnVal));
 return returnVal;
}

代码示例来源:origin: org.jclouds/jclouds-core

public void logResponse(Logger logger, HttpResponse response, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, response.getStatusLine().toString());
   logMessage(logger, response, prefix);
 }
}

代码示例来源:origin: jclouds/legacy-jclouds

public void logRequest(Logger logger, HttpRequest request, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, request.getRequestLine().toString());
   logMessage(logger, request, prefix);
 }
}

代码示例来源:origin: io.cloudsoft.jclouds/jclouds-core

public void logRequest(Logger logger, HttpRequest request, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, request.getRequestLine().toString());
   logMessage(logger, request, prefix);
 }
}

代码示例来源:origin: io.cloudsoft.jclouds/jclouds-core

public void logResponse(Logger logger, HttpResponse response, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, response.getStatusLine().toString());
   logMessage(logger, response, prefix);
 }
}

代码示例来源:origin: com.amysta.jclouds/jclouds-core

public void logResponse(Logger logger, HttpResponse response, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, response.getStatusLine().toString());
   logMessage(logger, response, prefix);
 }
}

代码示例来源:origin: jclouds/legacy-jclouds

public void logResponse(Logger logger, HttpResponse response, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, response.getStatusLine().toString());
   logMessage(logger, response, prefix);
 }
}

代码示例来源:origin: Nextdoor/bender

public void logRequest(Logger logger, HttpRequest request, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, request.getRequestLine().toString());
   logMessage(logger, request, prefix);
 }
}

代码示例来源:origin: Nextdoor/bender

public void logResponse(Logger logger, HttpResponse response, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, response.getStatusLine().toString());
   logMessage(logger, response, prefix);
 }
}

代码示例来源:origin: org.jclouds/jclouds-core

public void logRequest(Logger logger, HttpRequest request, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, request.getRequestLine().toString());
   logMessage(logger, request, prefix);
 }
}

代码示例来源:origin: com.amysta.jclouds/jclouds-core

public void logRequest(Logger logger, HttpRequest request, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, request.getRequestLine().toString());
   logMessage(logger, request, prefix);
 }
}

代码示例来源:origin: apache/jclouds

public void logResponse(Logger logger, HttpResponse response, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, response.getStatusLine().toString());
   logMessage(logger, response, prefix);
 }
}

代码示例来源:origin: apache/jclouds

public void logRequest(Logger logger, HttpRequest request, String prefix) {
 if (logger.isDebugEnabled()) {
   logger.debug("%s %s", prefix, request.getRequestLine().toString());
   logMessage(logger, request, prefix);
 }
}

相关文章