Spring AOP实现后台管理系统日志管理

Spring AOP实现后台管理系统日志管理 设计原则和思路:java 元注解方式结合AOP,灵活记录操做日志 可以记录详细错误日志为运维提供支持 日志记录尽量减小性能影响 1.定义日志记录元注解spring package com.myron.ims.annotation; import java.lang.annotation.*; /** * 自定义注解 拦截Controller * *
相关文章
相关标签/搜索