MCPcopy
hub / github.com/dianping/cat / log

Method log

cat-client/src/main/java/com/dianping/cat/Cat.java:260–264  ·  view source on GitHub ↗
(String severity, String message)

Source from the content-addressed store, hash-verified

258 }
259
260 static void log(String severity, String message) {
261 MessageFormat format = new MessageFormat("[{0,date,MM-dd HH:mm:ss.sss}] [{1}] [{2}] {3}");
262
263 System.out.println(format.format(new Object[] { new Date(), severity, "cat", message }));
264 }
265
266 public static void logError(String message, Throwable cause) {
267 try {

Callers 15

initializeMethod · 0.95
logger.jsFile · 0.80
event.jsFile · 0.80
subFunction · 0.80
zaFunction · 0.80
mbFunction · 0.80
highcharts.jsFile · 0.80
startopo.jsFile · 0.80
echarts-all.jsFile · 0.80
eFunction · 0.80

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected