MCPcopy
hub / github.com/jackc/pgx / Clear

Method Clear

tracelog/tracelog_test.go:53–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func (l *testLogger) Clear() {
54 l.mux.Lock()
55 defer l.mux.Unlock()
56
57 l.logs = l.logs[0:0]
58}
59
60func (l *testLogger) FilterByMsg(msg string) (res []testLog) {
61 l.mux.Lock()

Callers 10

TestLogQueryFunction · 0.95
TestLogCopyFromFunction · 0.95
TestLogConnectFunction · 0.95
TestLogAcquireFunction · 0.95
TestLogReleaseFunction · 0.95
TestLogPrepareFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected