com.bizmda.log.properties.TraceProperties Maven / Gradle / Ivy
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
*/
@Setter
@Getter
@ConfigurationProperties(prefix = "zlt.trace")
@RefreshScope
public class TraceProperties {
/**
* 是否开启日志链路追踪
*/
private Boolean enable = false;
}