mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-15 21:06:39 +08:00
Dont change log flags
This commit is contained in:
parent
233291e4e2
commit
448a144192
4
debug.go
4
debug.go
@ -10,10 +10,6 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
|
||||||
log.SetFlags(0)
|
|
||||||
}
|
|
||||||
|
|
||||||
// IsDebugging returns true if the framework is running in debug mode.
|
// IsDebugging returns true if the framework is running in debug mode.
|
||||||
// Use SetMode(gin.Release) to switch to disable the debug mode.
|
// Use SetMode(gin.Release) to switch to disable the debug mode.
|
||||||
func IsDebugging() bool {
|
func IsDebugging() bool {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user