mirror of
https://github.com/gin-gonic/gin.git
synced 2025-05-20 08:55:53 +08:00
Renames DefaultLogFile to DefaultWriter
This commit is contained in:
@ -39,7 +39,7 @@ func ErrorLoggerT(typ uint32) HandlerFunc {
|
||||
}
|
||||
|
||||
func Logger() HandlerFunc {
|
||||
return LoggerWithFile(DefaultLogFile)
|
||||
return LoggerWithFile(DefaultWriter)
|
||||
}
|
||||
|
||||
func LoggerWithFile(out io.Writer) HandlerFunc {
|
||||
|
Reference in New Issue
Block a user