mirror of https://github.com/gin-gonic/gin.git
fixed debugPrint
This commit is contained in:
parent
aa7b00a083
commit
a57db1a355
2
mode.go
2
mode.go
|
@ -58,6 +58,6 @@ func IsDebugging() bool {
|
||||||
|
|
||||||
func debugPrint(format string, values ...interface{}) {
|
func debugPrint(format string, values ...interface{}) {
|
||||||
if IsDebugging() {
|
if IsDebugging() {
|
||||||
fmt.Printf("[GIN-debug] "+format, values)
|
fmt.Printf("[GIN-debug] "+format, values...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue