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

com.bizmda.log.properties.AuditLogProperties Maven / Gradle / Ivy

There is a newer version: 1.0.0.RC4
Show newest version
package com.bizmda.log.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 审计日志配置
 *
 * @author zlt
 * Blog: https://zlt2000.gitee.io
 * Github: https://github.com/zlt2000
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "zlt.audit-log")
@RefreshScope
public class AuditLogProperties {
    /**
     * 是否开启审计日志
     */
    private Boolean enabled = false;
    /**
     * 日志记录类型(logger/redis/db/es)
     */
    private String logType;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy