Renames DefaultLogFile to DefaultWriter

This commit is contained in:
Manu Mtz-Almeida 2015-04-07 23:34:16 +02:00
parent 5ee822fcee
commit 873aecefa9
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ func ErrorLoggerT(typ uint32) HandlerFunc {
} }
func Logger() HandlerFunc { func Logger() HandlerFunc {
return LoggerWithFile(DefaultLogFile) return LoggerWithFile(DefaultWriter)
} }
func LoggerWithFile(out io.Writer) HandlerFunc { func LoggerWithFile(out io.Writer) HandlerFunc {

View File

@ -24,7 +24,7 @@ const (
testCode = iota testCode = iota
) )
var DefaultLogFile = colorable.NewColorableStdout() var DefaultWriter = colorable.NewColorableStdout()
var ginMode int = debugCode var ginMode int = debugCode
var modeName string = DebugMode var modeName string = DebugMode