Skip to content

Commit

Permalink
Google App Engine does not support fmt. Using log instead
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Mar 23, 2015
1 parent 3285007 commit c8ee142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package gin

import (
"fmt"
"log"
"os"
)

Expand Down Expand Up @@ -58,6 +58,6 @@ func IsDebugging() bool {

func debugPrint(format string, values ...interface{}) {
if IsDebugging() {
fmt.Printf("[GIN-debug] "+format, values...)
log.Printf("[GIN-debug] "+format, values...)
}
}

0 comments on commit c8ee142

Please sign in to comment.