All Downloads are FREE. Search and download functionalities are using the official Maven repository.

im.aop.loggers.AopLoggersAutoConfiguration Maven / Gradle / Ivy

Go to download

A handy and configurable sets of annotation-based loggers for Spring Boot that can log every execution of a method when entering or exiting normally or abnormally, without you writing a single line of code using aspect-oriented programming (AOP)

The newest version!
package im.aop.loggers;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * {@link org.springframework.boot.autoconfigure.EnableAutoConfiguration Auto-configuration} for AOP
 * Loggers.
 *
 * @author Andy Lian
 */
@Configuration(proxyBeanMethods = false)
@ConditionalOnProperty(
    prefix = AopLoggersProperties.PREFIX,
    name = "enabled",
    havingValue = "true",
    matchIfMissing = true)
@Import(AopLoggersConfiguration.class)
public class AopLoggersAutoConfiguration {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy