保誠-保戶業務員媒合平台
Jack
2021-11-10 4637ca54f1d51b0fc17b1955022f1c59ab70cbee
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);
    }
}