格式修改/添加注释

pull/2/head
dark 2021-03-09 20:20:38 +08:00
parent 395f5234b1
commit f9adeddad0
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@ import java.lang.annotation.*;
* @author
*/
public @interface BizTracing {
String BIZ_ID = "bizId";
String BIZ_TYPE = "bizType";

View File

@ -22,11 +22,12 @@ package cn.iocoder.dashboard.framework.tracer.skywalking;
import ch.qos.logback.classic.PatternLayout;
/**
* Based on the logback-compoenent convert register mechanism,
* Based on the logback-component convert register mechanism,
* register {@link LocalLogbackPatternConverter} as a new convert, match to "tid".
* You can use "%tid" in logback config file, "Pattern" section.
* If sky-walking agent is not active mode, it will use UUID as tid.
* <p>
* logback ,tid
* Created by mashu on 2021/3/6.
*/
public class TraceIdPatternLogbackLayout extends PatternLayout {