com.obsidiandynamics.zerolog.Zlg.d()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(77)

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

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)

相关文章