MCPcopy
hub / github.com/alibaba/MongoShake / Errorf

Method Errorf

pkg/log/logger.go:212–217  ·  view source on GitHub ↗
(format string, args ...any)

Source from the content-addressed store, hash-verified

210}
211
212func (l *ZapLogger) Errorf(format string, args ...any) {
213 if l == nil || l.logger == nil {
214 return
215 }
216 l.logger.Errorf(format, args...)
217}
218
219func (l *ZapLogger) Criticalf(format string, args ...any) {
220 l.log(criticalLevel, fmt.Sprintf(format, args...))

Callers 15

ErrorMethod · 0.95
initAllClientsFunction · 0.80
getDbVersionArrayFunction · 0.80
preCheckFunction · 0.80
getShardKeyAndUuidFunction · 0.80
getPrimaryShardFunction · 0.80
moveChunkIfNeededFunction · 0.80
preSharingForRangeFunction · 0.80
preShardingForHashedFunction · 0.80
countChunksFunction · 0.80
handleNamespaceFunction · 0.80
uuidDecodeValueFunction · 0.80

Calls

no outgoing calls

Tested by 13

readTestDataFunction · 0.64
getOpsForCaseFunction · 0.64
runNonTxnMetaCaseFunction · 0.64
runTxnMetaCaseFunction · 0.64
testBufferOpsFunction · 0.64
assertNoStateForIDFunction · 0.64
TestOldestTimestampFunction · 0.64
newMongoClientFunction · 0.64
RunCommandFunction · 0.64
runOplogFunction · 0.64