cn.flood.log.properties.AuditLogProperties Maven / Gradle / Ivy
The newest version!
package cn.flood.log.properties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
/**
* 审计日志配置
*
*/
@Setter
@Getter
@ConfigurationProperties(prefix = "spring.audit-log")
@RefreshScope
public class AuditLogProperties {
/**
* 是否开启审计日志
*/
private Boolean enabled = false;
/**
* 日志记录类型(logger/redis/db/es)
*/
private String logType;
}