liuxiaolong
2019-05-06 a7bed6b4cfecd61ec153818945f982c5bb796b98
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.cloud.model.log;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 日志注解
 * 
 * @author bsk
 * @date 21018-05-05
 */
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface LogAnnotation {
 
    String module();
 
    /**
     * 记录参数<br>
     * 尽量记录普通参数类型的方法,和能序列化的对象
     * 
     * @return
     */
    boolean recordParam() default true;
}