Spring Boot 使用AOP切面实现后台日志管理模块

设计原则和思路:java 元注解方式结合AOP,灵活记录操做日志 可以记录详细错误日志为运维提供支持 日志记录尽量减小性能影响 1.定义日志记录元注解redis 2.定义用于记录日志的实体类spring import java.io.Serializable; import com.leon.common.util.StringUtils; import com.fasterxml.jackson
相关文章
相关标签/搜索