MCPcopy Create free account
hub / github.com/dianping/cat / logEvent

Method logEvent

cat-client/src/main/java/com/dianping/cat/Cat.java:103–111  ·  view source on GitHub ↗
(String type, String name)

Source from the content-addressed store, hash-verified

101 }
102
103 public static void logEvent(String type, String name) {
104 try {
105 Event event = TraceContextHelper.threadLocal().newEvent(type, name);
106
107 event.success().complete();
108 } catch (Exception e) {
109 errorHandler(e);
110 }
111 }
112
113 public static void logEvent(String type, String name, String status, String nameValuePairs) {
114 try {

Callers 15

addAlertMethod · 0.95
isSuspendMethod · 0.95
sendMethod · 0.95
sendAlertMethod · 0.95
testMethod · 0.95
testMethod · 0.95
sendServiceMsgMethod · 0.95
sendClientMsgMethod · 0.95
testEventMethod · 0.95
testReuseIdMethod · 0.95

Calls 7

threadLocalMethod · 0.95
completeMethod · 0.95
errorHandlerMethod · 0.95
newEventMethod · 0.65
successMethod · 0.65
addDataMethod · 0.65
setStatusMethod · 0.65

Tested by 15

testMethod · 0.76
testMethod · 0.76
sendServiceMsgMethod · 0.76
sendClientMsgMethod · 0.76
testEventMethod · 0.76
testReuseIdMethod · 0.76
runMethod · 0.76
sendCacheMsgMethod · 0.76
sendSquirrelMsgMethod · 0.76
sendSQLMsgMethod · 0.76