mirror of https://github.com/gin-gonic/gin.git
Renames DefaultLogFile to DefaultWriter
This commit is contained in:
parent
5ee822fcee
commit
873aecefa9
|
@ -39,7 +39,7 @@ func ErrorLoggerT(typ uint32) HandlerFunc {
|
|||
}
|
||||
|
||||
func Logger() HandlerFunc {
|
||||
return LoggerWithFile(DefaultLogFile)
|
||||
return LoggerWithFile(DefaultWriter)
|
||||
}
|
||||
|
||||
func LoggerWithFile(out io.Writer) HandlerFunc {
|
||||
|
|
Loading…
Reference in New Issue