mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 10:37:41 +08:00 
			
		
		
		
	格式修改/添加注释
This commit is contained in:
		| @ -12,6 +12,7 @@ import java.lang.annotation.*; | |||||||
|  * @author 麻薯 |  * @author 麻薯 | ||||||
|  */ |  */ | ||||||
| public @interface BizTracing { | public @interface BizTracing { | ||||||
|  |  | ||||||
|     String BIZ_ID = "bizId"; |     String BIZ_ID = "bizId"; | ||||||
|     String BIZ_TYPE = "bizType"; |     String BIZ_TYPE = "bizType"; | ||||||
|  |  | ||||||
|  | |||||||
| @ -22,11 +22,12 @@ package cn.iocoder.dashboard.framework.tracer.skywalking; | |||||||
| import ch.qos.logback.classic.PatternLayout; | 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". |  * register {@link LocalLogbackPatternConverter} as a new convert, match to "tid". | ||||||
|  * You can use "%tid" in logback config file, "Pattern" section. |  * You can use "%tid" in logback config file, "Pattern" section. | ||||||
|  * If sky-walking agent is not active mode, it will use UUID as tid. |  * If sky-walking agent is not active mode, it will use UUID as tid. | ||||||
|  * <p> |  * <p> | ||||||
|  |  * logback 的转换组件,为tid 添加占位符的转换器 | ||||||
|  * Created by mashu on 2021/3/6. |  * Created by mashu on 2021/3/6. | ||||||
|  */ |  */ | ||||||
| public class TraceIdPatternLogbackLayout extends PatternLayout { | public class TraceIdPatternLogbackLayout extends PatternLayout { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 dark
					dark