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

Method logError

lib/java/src/main/java/com/dianping/cat/Cat.java:391–399  ·  view source on GitHub ↗
(String message, Throwable cause)

Source from the content-addressed store, hash-verified

389 }
390
391 public static void logError(String message, Throwable cause) {
392 if (isEnabled()) {
393 try {
394 Cat.getProducer().logError(message, cause);
395 } catch (Exception e) {
396 errorHandler(e);
397 }
398 }
399 }
400
401 public static void logError(Throwable cause) {
402 if (isEnabled()) {

Callers 13

runMethod · 0.95
logErrorMethod · 0.95
logErrorMethod · 0.95
copyForTestMethod · 0.95
encodeTreeMethod · 0.95
releaseMethod · 0.95
getProcessIDMethod · 0.95
buildHeartbeatMethod · 0.95
parseDatabaseMethod · 0.95
doProcessCollectMethod · 0.95
logErrorMethod · 0.95
logPayloadMethod · 0.95

Calls 4

isEnabledMethod · 0.95
getProducerMethod · 0.95
errorHandlerMethod · 0.95
logErrorMethod · 0.65

Tested by

no test coverage detected