(context.Context)
| 73 | return newPostgresQueryLogSink(ctx, cfg) |
| 74 | } |
| 75 | |
| 76 | // Log sends an entry to the query log. Non-blocking; drops if channel is full. |
| 77 | func (ql *QueryLogger) Log(entry QueryLogEntry) { |
| 78 | if ql == nil || ql.ch == nil { |
no outgoing calls