From d9c02268899419fbad3c7743cc011bc1146c843e Mon Sep 17 00:00:00 2001 From: "marko.tikvic" Date: Mon, 15 Apr 2019 16:14:21 +0200 Subject: [PATCH] fixed PrintAndTrace not passing full var args list --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 63be7a5..fd18e31 100644 --- a/main.go +++ b/main.go @@ -126,8 +126,8 @@ func (l *Logger) Trace(format string, v ...interface{}) { // PrintAndTrace ... func (l *Logger) PrintAndTrace(format string, v ...interface{}) { - l.Print(format, v) - l.Trace(format, v) + l.Print(format, v...) + l.Trace(format, v...) } // LogHTTPRequest ... -- 1.8.1.2