Renames LoggerInFile() to LoggerWithFile()

This commit is contained in:
Manu Mtz-Almeida 2015-04-07 18:56:17 +02:00
parent dcdf7b92f4
commit 3fce8efcc6

View File

@ -39,10 +39,10 @@ func ErrorLoggerT(typ uint32) HandlerFunc {
}
func Logger() HandlerFunc {
return LoggerInFile(DefaultLogFile)
return LoggerWithFile(DefaultLogFile)
}
func LoggerInFile(out io.Writer) HandlerFunc {
func LoggerWithFile(out io.Writer) HandlerFunc {
return func(c *Context) {
// Start timer
start := time.Now()