public class P6spyLogFormatStrategy extends Object implements com.p6spy.engine.spy.appender.MessageFormattingStrategy
| 构造器和说明 |
|---|
P6spyLogFormatStrategy() |
public String formatMessage(int connectionId, String now, long elapsed, String category, String prepared, String sql, String url)
formatMessage 在接口中 com.p6spy.engine.spy.appender.MessageFormattingStrategyconnectionId: - 连接IDnow: - 当前时间elapsed: - 花费时间category: - 类别prepared: - 预编译SQLsql: - 最终执行的SQLurl: - 数据库连接地址Copyright © 2022. All rights reserved.