Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
53
func
(l *testLogger) Clear() {
54
l.mux.Lock()
55
defer
l.mux.Unlock()
56
57
l.logs = l.logs[0:0]
58
}
59
60
func
(l *testLogger) FilterByMsg(msg string) (res []testLog) {
61
l.mux.Lock()
Callers
10
TestContextGetsPassedToLogMethod
Function · 0.95
TestLogQuery
Function · 0.95
TestLogQueryArgsHandlesUTF8
Function · 0.95
TestLogCopyFrom
Function · 0.95
TestLogConnect
Function · 0.95
TestLogBatchStatementsOnExec
Function · 0.95
TestLogBatchStatementsOnBatchResultClose
Function · 0.95
TestLogAcquire
Function · 0.95
TestLogRelease
Function · 0.95
TestLogPrepare
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected