public interface SlowLog
Modifier and Type | Method and Description |
---|---|
Object |
getField(String key) |
long |
getThresholdMS() |
long |
getTraceId() |
void |
log() |
void |
setError(Throwable err) |
SlowLogSpan |
start(String name) |
default SlowLog |
withField(String key,
Object value) |
SlowLog |
withFields(Map<String,Object> fields) |
SlowLogSpan start(String name)
long getTraceId()
long getThresholdMS()
void setError(Throwable err)
void log()
Copyright © 2024 PingCAP. All rights reserved.