This commit is contained in:
Barnabus
2018-11-05 16:17:04 +10:00
committed by thinkerou
parent 4f488aca55
commit 7a374f9a47
7 changed files with 8 additions and 8 deletions

View File

@ -53,7 +53,7 @@ func Logger() HandlerFunc {
return LoggerWithWriter(DefaultWriter)
}
// LoggerWithWriter instance a Logger middleware with the specified writter buffer.
// LoggerWithWriter instance a Logger middleware with the specified writer buffer.
// Example: os.Stdout, a file opened in write mode, a socket...
func LoggerWithWriter(out io.Writer, notlogged ...string) HandlerFunc {
isTerm := true