com.healthy.common.log.LogAutoConfiguration Maven / Gradle / Ivy
The newest version!
package com.healthy.common.log;
import com.healthy.common.log.aspect.LogAspect;
import lombok.RequiredArgsConstructor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* 日志自动配置
*
* @author xiaomingzhang
*/
@RequiredArgsConstructor
@ConditionalOnWebApplication
@Configuration(proxyBeanMethods = false)
public class LogAutoConfiguration {
@Bean
public LogAspect logAspect() {
return new LogAspect();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy