From 92cbc6566d911d98a52b0ba65d010ad91f5d8fb5 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Mon, 15 Sep 2014 14:27:28 -0500 Subject: [PATCH] Fix log truncation --- logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger.go b/logger.go index 822b8c24..acfac5fd 100644 --- a/logger.go +++ b/logger.go @@ -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 {