refactor: 记录接口调用日志
This commit is contained in:
parent
82b1e60e86
commit
05202a53df
|
@ -47,9 +47,7 @@ public class WebLogAspect {
|
||||||
public void doAfter(Object ret) {
|
public void doAfter(Object ret) {
|
||||||
Handler h = handler.get();
|
Handler h = handler.get();
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder()
|
||||||
sb.append("HOST: ")
|
|
||||||
.append(h.getHost()).append(" ")
|
|
||||||
.append(h.getMethod()).append(" ")
|
.append(h.getMethod()).append(" ")
|
||||||
.append("URL: ")
|
.append("URL: ")
|
||||||
.append(h.getUrl()).append(" ")
|
.append(h.getUrl()).append(" ")
|
||||||
|
|
Loading…
Reference in New Issue