MCPcopy Create free account
hub / github.com/PostHog/duckgres / Log

Method Log

server/querylog.go:74–74  ·  view source on GitHub ↗
(QueryLogEntry)

Source from the content-addressed store, hash-verified

72 defer cancel()
73 return newPostgresQueryLogSink(ctx, cfg)
74}
75
76// Log sends an entry to the query log. Non-blocking; drops if channel is full.
77func (ql *QueryLogger) Log(entry QueryLogEntry) {

Callers 8

logQueryMethod · 0.95
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
StartCredentialRefreshFunction · 0.65

Implementers 4

fakeControlPlaneQueryLogSinkcontrolplane/control_test.go
captureQueryLogSinkserver/querylog_kafka_test.go
QueryLoggerserver/querylog.go
KafkaQueryLogSinkserver/querylog_kafka.go

Calls

no outgoing calls