SetQueryLogger sets the query logger on a Server. Used by the control plane to attach a query logger to the minimal server after creation.
(s *Server, ql *QueryLogger)
| 312 | // giving those per-org events a PostHog-native key. Resolved from the config |
| 313 | // snapshot at setup (the connecting user's team, else the org's oldest team); |
| 314 | // 0 when unknown or non-multitenant. Constant for the connection's life. |
| 315 | func SetConnectionTeamID(cc *clientConn, teamID int64) { |
| 316 | if cc != nil { |
| 317 | cc.teamID = teamID |
| 318 | } |
| 319 | } |
| 320 |
nothing calls this directly
no outgoing calls
no test coverage detected