Skip to content

Commit

Permalink
Renames LoggerInFile() to LoggerWithFile()
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Apr 7, 2015
1 parent dcdf7b9 commit 3fce8ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3fce8ef

Please sign in to comment.