MCPcopy Index your code
hub / github.com/dianping/cat / logBatchEvent

Method logBatchEvent

lib/java/src/main/java/com/dianping/cat/Cat.java:366–374  ·  view source on GitHub ↗

Log batch event in one shot with SUCCESS status. @param type event type @param name event name @param error error count @param count total count , failure% = error/total

(String type, String name, int count, int error)

Source from the content-addressed store, hash-verified

364 * @param count total count , failure% = error/total
365 */
366 public static void logBatchEvent(String type, String name, int count, int error) {
367 if (isEnabled()) {
368 try {
369 EventAggregator.getInstance().logBatchEvent(type, name, count, error);
370 } catch (Exception e) {
371 errorHandler(e);
372 }
373 }
374 }
375
376 /**
377 * log batch transaction with type name

Callers

nothing calls this directly

Calls 3

isEnabledMethod · 0.95
getInstanceMethod · 0.95
errorHandlerMethod · 0.95

Tested by

no test coverage detected