MCPcopy
hub / github.com/ipfs/kubo / Log

Method Log

test/cli/harness/log.go:67–71  ·  view source on GitHub ↗
(args ...any)

Source from the content-addressed store, hash-verified

65}
66
67func (t *TestLogger) Log(args ...any) {
68 timestamp := time.Now()
69 e := t.buildPrefix(timestamp) + fmt.Sprint(args...)
70 t.add(&event{timestamp: timestamp, msg: e})
71}
72
73func (t *TestLogger) Logf(format string, args ...any) {
74 timestamp := time.Now()

Callers 15

mockServerFunction · 0.80
TestPubsubFunction · 0.80
TestRPCUnixSocketFunction · 0.80
TestBitswapConfigFunction · 0.80
TestDiagDatastoreFunction · 0.80
TestRPCAuthFunction · 0.80
TestBlockSizeBoundaryFunction · 0.80
testRoutingErrorHandlingFunction · 0.80

Calls 2

buildPrefixMethod · 0.95
addMethod · 0.95

Tested by 15

mockServerFunction · 0.64
TestPubsubFunction · 0.64
TestRPCUnixSocketFunction · 0.64
TestBitswapConfigFunction · 0.64
TestDiagDatastoreFunction · 0.64
TestRPCAuthFunction · 0.64
TestBlockSizeBoundaryFunction · 0.64
testRoutingErrorHandlingFunction · 0.64