package com.worktajm.config;
import com.worktajm.aop.logging.LoggingAspect;
import org.springframework.context.annotation.*;
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfiguration {
@Bean
@Profile(Constants.SPRING_PROFILE_DEVELOPMENT)
public LoggingAspect loggingAspect() {
return new LoggingAspect();
}
}