本文整理了Java中com.obsidiandynamics.zerolog.Zlg.d()
方法的一些代码示例,展示了Zlg.d()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zlg.d()
方法的具体详情如下:
包路径:com.obsidiandynamics.zerolog.Zlg
类名称:Zlg
方法名:d
暂无
代码示例来源:origin: com.obsidiandynamics.jackdaw/jackdaw-core
try {
entry.getValue().get();
zlg.d("Deleted consumer group %s", z -> z.arg(entry::getKey));
deleted.add(entry.getKey());
} catch (ExecutionException e) {
if (e.getCause() instanceof GroupNotEmptyException) {
zlg.d("Group %s not empty (will be deleted later)", z -> z.arg(entry::getKey));
deleted.add(entry.getKey());
} else if (e.getCause() instanceof GroupIdNotFoundException) {
zlg.d("Group %s not found", z -> z.arg(entry::getKey));
} else {
throw e;
代码示例来源:origin: com.obsidiandynamics.jackdaw/jackdaw-core
try {
entry.getValue().get();
zlg.d("Created topic %s", z -> z.arg(entry::getKey));
created.add(entry.getKey());
} catch (ExecutionException e) {
if (e.getCause() instanceof TopicExistsException) {
zlg.d("Topic %s already exists", z -> z.arg(entry::getKey));
} else {
throw e;
代码示例来源:origin: com.obsidiandynamics.jackdaw/jackdaw-core
try {
entry.getValue().get();
zlg.d("Deleted topic %s", z -> z.arg(entry::getKey));
deleted.add(entry.getKey());
} catch (ExecutionException e) {
if (e.getCause() instanceof UnknownTopicOrPartitionException) {
zlg.d("Topic %s does not exist", z -> z.arg(entry::getKey));
} else {
throw e;
代码示例来源:origin: com.obsidiandynamics.blackstrom/blackstrom-core
private void timeoutCohort(Proposal proposal, String cohort) {
zlg.d("Timed out %s for cohort %s", z -> z.arg(proposal).arg(cohort));
append(new Vote(proposal.getXid(), new Response(cohort, Intent.TIMEOUT, null))
.inResponseTo(proposal).withSource(groupId));
}
代码示例来源:origin: com.obsidiandynamics.meteor/meteor-elect
if (! existingLease.isCurrent()) {
if (existingLease.isVacant()) {
config.getZlg().d("Lease of %s is vacant", z -> z.arg(resource));
} else {
scavengeWatcher.onExpire(resource, existingLease.getTenant());
config.getZlg().d("Lease of %s by %s expired at %s",
z -> z
.arg(resource)
config.getZlg().d("New lease of %s by %s until %s",
z -> z
.arg(resource)
代码示例来源:origin: com.obsidiandynamics.hazelq/hazelq-elect
if (! existingLease.isCurrent()) {
if (existingLease.isVacant()) {
config.getZlg().d("Lease of %s is vacant", z -> z.arg(resource));
} else {
scavengeWatcher.onExpire(resource, existingLease.getTenant());
config.getZlg().d("Lease of %s by %s expired at %s",
z -> z
.arg(resource)
config.getZlg().d("New lease of %s by %s until %s",
z -> z
.arg(resource)
内容来源于网络,如有侵权,请联系作者删除!