(lvl LogLevel)
| 389 | } |
| 390 | |
| 391 | func (tl *TraceLog) shouldLog(lvl LogLevel) bool { |
| 392 | return tl.LogLevel >= lvl |
| 393 | } |
| 394 | |
| 395 | func (tl *TraceLog) log(ctx context.Context, conn *pgx.Conn, lvl LogLevel, msg string, data map[string]any) { |
| 396 | if data == nil { |
no outgoing calls
no test coverage detected