Skip to content

Commit

Permalink
Cosmetic change in logger()
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed May 14, 2015
1 parent 51a64ab commit 3948dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func LoggerWithWriter(out io.Writer) HandlerFunc {
methodColor := colorForMethod(method)
comment := c.Errors.String()

fmt.Fprintf(out, "[GIN] %v |%s %3d %s| %12v | %s |%s %s %-7s %s\n%s",
fmt.Fprintf(out, "[GIN] %v |%s %3d %s| %13v | %s |%s %s %-7s %s\n%s",
end.Format("2006/01/02 - 15:04:05"),
statusColor, statusCode, reset,
latency,
Expand Down

0 comments on commit 3948dac

Please sign in to comment.