
io.github.wujun728.log.properties.TraceProperties Maven / Gradle / Ivy
package io.github.wujun728.log.properties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
/**
* 日志链路追踪配置
*
*/
@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "jun.trace")
@RefreshScope
public class TraceProperties {
/**
* 是否开启日志链路追踪
*/
private Boolean enable = false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy