Package top.tangyh.basic.database.p6spy
Class TenantP6SpyLogger
java.lang.Object
top.tangyh.basic.database.p6spy.TenantP6SpyLogger
- All Implemented Interfaces:
com.p6spy.engine.spy.appender.MessageFormattingStrategy
public class TenantP6SpyLogger
extends Object
implements com.p6spy.engine.spy.appender.MessageFormattingStrategy
用于 p6spy 在输出的sql日志中,打印当前租户、当前用户ID、当前数据源连接url
- Author:
- zuihou
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
REGX
- See Also:
-
-
Constructor Details
-
TenantP6SpyLogger
public TenantP6SpyLogger()
-
-
Method Details