refactor: 记录接口调用日志
This commit is contained in:
parent
46d4a455e1
commit
999e6d2552
|
@ -48,8 +48,7 @@ public class WebLogAspect {
|
||||||
Handler h = handler.get();
|
Handler h = handler.get();
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder()
|
StringBuilder sb = new StringBuilder()
|
||||||
.append(h.getMethod()).append(" ")
|
.append(h.getMethod()).append(": ")
|
||||||
.append("URL: ")
|
|
||||||
.append(h.getUrl()).append(" ")
|
.append(h.getUrl()).append(" ")
|
||||||
.append("TIME: ")
|
.append("TIME: ")
|
||||||
.append((System.currentTimeMillis() - h.getStartTime())).append("ms ");
|
.append((System.currentTimeMillis() - h.getStartTime())).append("ms ");
|
||||||
|
|
Loading…
Reference in New Issue