Package top.tangyh.basic.log.util
Class LogUtil
java.lang.Object
top.tangyh.basic.log.util.LogUtil
日志工具类
- Author:
- zuihou
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDescribe(org.aspectj.lang.JoinPoint point) 获取操作信息static StringgetDescribe(top.tangyh.basic.annotation.log.WebLog annotation) static top.tangyh.basic.annotation.log.WebLoggetTargetAnnotation(org.aspectj.lang.JoinPoint point) 优先从子类获取 @WebLog: 1,若子类重写了该方法,有标记就记录日志,没标记就忽略日志 2,若子类没有重写该方法,就从父类获取,父类有标记就记录日志,没标记就忽略日志
-
Method Details
-
getDescribe
获取操作信息 -
getDescribe
-
getTargetAnnotation
public static top.tangyh.basic.annotation.log.WebLog getTargetAnnotation(org.aspectj.lang.JoinPoint point) 优先从子类获取 @WebLog: 1,若子类重写了该方法,有标记就记录日志,没标记就忽略日志 2,若子类没有重写该方法,就从父类获取,父类有标记就记录日志,没标记就忽略日志
-