com.github.seahuang.log.spring.EnableLoggable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of loggable Show documentation
Show all versions of loggable Show documentation
AOP to log java methods developed by SeaHuang
package com.github.seahuang.log.spring;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(LoggableAutoConfiguration.class)
@Documented
public @interface EnableLoggable {
boolean logDuration() default false;
}