Commit f9adeddad0c27e899271b49ca3878171e5aa782a

Authored by dark
1 parent 395f5234

格式修改/添加注释

src/main/java/cn/iocoder/dashboard/common/annotation/BizTracing.java
@@ -12,6 +12,7 @@ import java.lang.annotation.*; @@ -12,6 +12,7 @@ import java.lang.annotation.*;
12 * @author 麻薯 12 * @author 麻薯
13 */ 13 */
14 public @interface BizTracing { 14 public @interface BizTracing {
  15 +
15 String BIZ_ID = "bizId"; 16 String BIZ_ID = "bizId";
16 String BIZ_TYPE = "bizType"; 17 String BIZ_TYPE = "bizType";
17 18
src/main/java/cn/iocoder/dashboard/framework/tracer/skywalking/TraceIdPatternLogbackLayout.java
@@ -22,11 +22,12 @@ package cn.iocoder.dashboard.framework.tracer.skywalking; @@ -22,11 +22,12 @@ package cn.iocoder.dashboard.framework.tracer.skywalking;
22 import ch.qos.logback.classic.PatternLayout; 22 import ch.qos.logback.classic.PatternLayout;
23 23
24 /** 24 /**
25 - * Based on the logback-compoenent convert register mechanism, 25 + * Based on the logback-component convert register mechanism,
26 * register {@link LocalLogbackPatternConverter} as a new convert, match to "tid". 26 * register {@link LocalLogbackPatternConverter} as a new convert, match to "tid".
27 * You can use "%tid" in logback config file, "Pattern" section. 27 * You can use "%tid" in logback config file, "Pattern" section.
28 * If sky-walking agent is not active mode, it will use UUID as tid. 28 * If sky-walking agent is not active mode, it will use UUID as tid.
29 * <p> 29 * <p>
  30 + * logback 的转换组件,为tid 添加占位符的转换器
30 * Created by mashu on 2021/3/6. 31 * Created by mashu on 2021/3/6.
31 */ 32 */
32 public class TraceIdPatternLogbackLayout extends PatternLayout { 33 public class TraceIdPatternLogbackLayout extends PatternLayout {