mirror of
https://github.com/jackc/pgx.git
synced 2025-07-08 03:28:46 +00:00
Fix log truncation
This commit is contained in:
parent
b21a653085
commit
92cbc6566d
@ -49,7 +49,7 @@ func (l *connLogger) Error(msg string, ctx ...interface{}) {
|
||||
l.logger.Error(msg, ctx...)
|
||||
}
|
||||
|
||||
func logQueryArgs(args ...interface{}) []interface{} {
|
||||
func logQueryArgs(args []interface{}) []interface{} {
|
||||
logArgs := make([]interface{}, 0, len(args))
|
||||
|
||||
for _, a := range args {
|
||||
|
Loading…
x
Reference in New Issue
Block a user