mirror of https://github.com/jackc/pgx.git
Fix log truncation
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…
Reference in New Issue