保誠-保戶業務員媒合平台
劉鈞霖
2021-12-15 8920cf32b364d6018da3a866e24e8d39e3b86087
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.pollex.pam.config;
 
import com.pollex.pam.aop.logging.LoggingAspect;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;
import tech.jhipster.config.JHipsterConstants;
 
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfiguration {
 
    @Bean
    @Profile(JHipsterConstants.SPRING_PROFILE_DEVELOPMENT)
    public LoggingAspect loggingAspect(Environment env) {
        return new LoggingAspect(env);
    }
}