log batch transaction with type name @param type transaction type @param name transaction name @param error error count @param count total count, failure% = error/total @param sum avg = sum/total sum in milliseconds
(String type, String name, int count, int error, long sum)
| 383 | * @param sum avg = sum/total sum in milliseconds |
| 384 | */ |
| 385 | public static void logBatchTransaction(String type, String name, int count, int error, long sum) { |
| 386 | if (isEnabled()) { |
| 387 | TransactionAggregator.getInstance().logBatchTransaction(type, name, count, error, sum); |
| 388 | } |
| 389 | } |
| 390 | |
| 391 | public static void logError(String message, Throwable cause) { |
| 392 | if (isEnabled()) { |
nothing calls this directly
no test coverage detected