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