com.suchtool.nicelog.util.log.context.NiceLogContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nicelog-spring-boot-starter Show documentation
Show all versions of nicelog-spring-boot-starter Show documentation
collect log automatically for SpringBoot project
The newest version!
package com.suchtool.nicelog.util.log.context;
import lombok.Data;
/**
* 日志的上下文信息
*/
@Data
public class NiceLogContext {
/**
* TraceId
*/
private String traceId;
/**
* 入口
* 对于Controller,是URL
* 对于RabbitMQ,是@RabbitMQ的queues
* 对于XXL-JOB,是@XxlJob的value
*/
private String entry;
/**
* 入口类的tag
*/
private String entryClassTag;
/**
* 入口方法的tag
*/
private String entryMethodTag;
/**
* 入口个数。清零时把context删掉
*/
private int entryCount;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy