com.lwq.fast.log.trace.aspect.EnableTraceAspect Maven / Gradle / Ivy
package com.lwq.fast.log.trace.aspect;
import com.lwq.fast.log.fastlogcore.trace.TraceThreadLocal;
import org.aspectj.lang.annotation.*;
import org.springframework.stereotype.Component;
@Component
@Aspect
public class EnableTraceAspect {
@Pointcut("@annotation(com.lwq.fast.log.trace.annotition.EnableTrace)")
public void enableTrace(){}
@Before("enableTrace()")
public void doBefore(){
TraceThreadLocal.get();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy