Modifier and Type | Field and Description |
---|---|
static SlowLogEmptyImpl |
INSTANCE |
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 static final SlowLogEmptyImpl INSTANCE
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.