com.suchtool.nicelog.annotation.NiceLogOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nicelog-spring-boot-starter Show documentation
Show all versions of nicelog-spring-boot-starter Show documentation
collect log automatically for SpringBoot project
The newest version!
package com.suchtool.nicelog.annotation;
import java.lang.annotation.*;
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NiceLogOperation {
/**
* 指定方法的tag
*/
String value() default "";
/**
* 指定业务单号(SpEL)
* 如果参数是对象,这样写:#对象名.字段名,例如:#user.userName
* 如果参数不是对象,这样写:#字段名。例如:#orderNo
*/
String businessNoSpEL() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy