Ejemplo n.º 1
0
 public static void add(PipelineContext pipelineContext) {
   if (pipelineContext.getAttribute(counterName) != null) {
     log.get()
         .add(
             String.format(
                 "%d-%d-loop-%d",
                 pipelineContext.level(),
                 pipelineContext.index(),
                 pipelineContext.getAttribute(counterName)));
   } else {
     log.get().add(String.format("%d-%d", pipelineContext.level(), pipelineContext.index()));
   }
 }