本文整理了Java中io.fabric8.maven.docker.util.Logger.isVerboseEnabled()
方法的一些代码示例,展示了Logger.isVerboseEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isVerboseEnabled()
方法的具体详情如下:
包路径:io.fabric8.maven.docker.util.Logger
类名称:Logger
方法名:isVerboseEnabled
[英]Whether verbose is enablee
[中]是否启用verbose
代码示例来源:origin: fabric8io/docker-maven-plugin
@Override
public void cleanup() {
if (exitCode != null && log.isVerboseEnabled()) {
// if not running, probably something went wrong during startup: spit out logs
new LogDispatcher(dockerAccess).fetchContainerLog(containerId, LogOutputSpec.DEFAULT);
dockerAccess.getLogSync(containerId, new DefaultLogCallback(
new LogOutputSpec.Builder()
.color("black", true)
.prefix(containerId.substring(0, 6))
.useColor(true)
.logStdout(true)
.build()
));
}
}
代码示例来源:origin: fabric8io/fabric8-maven-plugin
@Override
public boolean isVerboseEnabled() {
return log.isVerboseEnabled();
}
内容来源于网络,如有侵权,请联系作者删除!