本文整理了Java中io.vertx.core.logging.Logger.isInfoEnabled()
方法的一些代码示例,展示了Logger.isInfoEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isInfoEnabled()
方法的具体详情如下:
包路径:io.vertx.core.logging.Logger
类名称:Logger
方法名:isInfoEnabled
暂无
代码示例来源:origin: io.vertx/vertx-lang-scala
public boolean isInfoEnabled() {
return log.isInfoEnabled();
}
代码示例来源:origin: io.vertx/vertx-lang-scala_2.12
public boolean isInfoEnabled() {
return log.isInfoEnabled();
}
代码示例来源:origin: io.vertx/vertx-infinispan
@Override
public boolean isFatalEnabled() {
return logger.isInfoEnabled();
}
代码示例来源:origin: io.vertx/vertx-infinispan
@Override
public boolean isWarnEnabled() {
return logger.isInfoEnabled();
}
代码示例来源:origin: io.vertx/vertx-infinispan
@Override
public boolean isErrorEnabled() {
return logger.isInfoEnabled();
}
代码示例来源:origin: io.vertx/vertx-infinispan
@Override
public boolean isInfoEnabled() {
return logger.isInfoEnabled();
}
代码示例来源:origin: io.eventuate.client.java/eventuate-client-java-http-stomp
public EventuateSTOMPClient(Vertx vertx, EventuateCredentials eventuateCredentials, URI uri) {
this.vertx = vertx;
this.context = VertxUtil.getContext(vertx);
this.eventuateCredentials = eventuateCredentials;
this.host = uri.getHost();
this.port = uri.getPort();
this.useSsl = uri.getScheme().startsWith("stomp+ssl");
if (logger.isInfoEnabled())
logger.debug("STOMP connection: " + Arrays.asList(host, port, useSsl));
}
代码示例来源:origin: eventuate-clients/eventuate-client-java
public EventuateSTOMPClient(Vertx vertx, EventuateCredentials eventuateCredentials, URI uri) {
this.vertx = vertx;
this.context = VertxUtil.getContext(vertx);
this.eventuateCredentials = eventuateCredentials;
this.host = uri.getHost();
this.port = uri.getPort();
this.useSsl = uri.getScheme().startsWith("stomp+ssl");
if (logger.isInfoEnabled())
logger.debug("STOMP connection: " + Arrays.asList(host, port, useSsl));
}
代码示例来源:origin: io.vertx/vertx-jgroups
default void logInfo(Supplier<String> message) {
if (log().isInfoEnabled()) {
log().info(message.get());
}
}
}
代码示例来源:origin: io.eventuate.client.java/eventuate-client-java-http-stomp
private void doSubscribe(Subscription sub) {
if (logger.isInfoEnabled())
logger.debug("subscribing ... " + sub.subscriberId);
Map<String, String> headers = new HashMap<>();
headers.put(Frame.ID, sub.uniqueId);
String destination = makeDestinationHeader(sub);
state.connection.subscribe(destination, headers,
frame -> frameHandler(frame, sub), rh -> {
if (logger.isInfoEnabled())
logger.debug("Subscribed: " + sub.subscriberId);
sub.noteSubscribed();
});
}
代码示例来源:origin: eventuate-clients/eventuate-client-java
private void doSubscribe(Subscription sub) {
if (logger.isInfoEnabled())
logger.debug("subscribing ... " + sub.subscriberId);
Map<String, String> headers = new HashMap<>();
headers.put(Frame.ID, sub.uniqueId);
String destination = makeDestinationHeader(sub);
state.connection.subscribe(destination, headers,
frame -> frameHandler(frame, sub), rh -> {
if (logger.isInfoEnabled())
logger.debug("Subscribed: " + sub.subscriberId);
sub.noteSubscribed();
});
}
代码示例来源:origin: io.vertx/vertx-infinispan
@Override
public void fatal(String msg, Object... args) {
if (!logger.isInfoEnabled()) {
return;
}
withComputedText(msg, args, logger::fatal);
}
代码示例来源:origin: io.vertx/vertx-infinispan
@Override
public void warn(String msg, Object... args) {
if (!logger.isInfoEnabled()) {
return;
}
withComputedText(msg, args, logger::warn);
}
代码示例来源:origin: io.vertx/vertx-infinispan
@Override
public void info(String msg, Object... args) {
if (!logger.isInfoEnabled()) {
return;
}
withComputedText(msg, args, logger::info);
}
代码示例来源:origin: io.vertx/vertx-infinispan
@Override
public void error(String format, Object... args) {
if (!logger.isInfoEnabled()) {
return;
}
withComputedText(format, args, logger::error);
}
代码示例来源:origin: gentics/mesh
addProject(name);
rh.reply(true);
if (log.isInfoEnabled()) {
log.info("Registered project {" + name + "}");
内容来源于网络,如有侵权,请联系作者删除!