# Spring切面记录个性化操作日志 **Repository Path**: wangtianchuan/wtc-space-spring-boot-aspect-log ## Basic Information - **Project Name**: Spring切面记录个性化操作日志 - **Description**: Spring切面 + 自定义注解实现记录个性化操作日志 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2022-07-19 - **Last Updated**: 2024-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: SpringBoot, 切面, aspect, 日志, log ## README # WtcSpaceSpringBootAspectLog #### 介绍 Spring切面 + 自定义注解实现记录个性化操作日志; 优点: 记录的日志内容、格式等完全由开发人员编辑, 可读性高; 缺点: 需要在每个需要记录日志的方法上添加注解并编辑注解的 value 值, 开发成本较高; #### 软件架构 Spring Boot + Aspectj #### 使用说明 1 修改 CustomLogAspect 中的环绕方法以满足业务需要; 2 修改 CustomLogAspect 中的 formatString(...) 方法以提高效率;