Skip to content

Commit 7503ab6

Browse files
author
allan
committed
fix: update debugPrint function to use variadic parameters for improved logging
1 parent e30aad3 commit 7503ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compress/resty.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (o *compress) restyGet(url string, queryParams map[string]string) (*resty.R
5959

6060
func (o *compress) debugPrint(data ...interface{}) {
6161
if o.debug {
62-
log.Println(data)
62+
log.Println(data...)
6363
}
6464
}
6565

0 commit comments

Comments
 (0)