Skip to content

Commit

Permalink
Update list of dev colors (but correctly)
Browse files Browse the repository at this point in the history
In the `dev` preset, success codes (2xx) are [colored green](https://github.com/expressjs/morgan/blob/master/index.js#L193). This change updates the documentation to reflect that.
  • Loading branch information
thislooksfun authored Jul 8, 2019
1 parent 54497d0 commit 035893a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Standard Apache common log output.

Concise output colored by response status for development use. The `:status`
token will be colored red for server error codes, yellow for client error
codes, cyan for redirection codes, green for `200`, and uncolored for all other codes.
codes, cyan for redirection codes, green for success codes, and uncolored for information codes.

```
:method :url :status :response-time ms - :res[content-length]
Expand Down

0 comments on commit 035893a

Please sign in to comment.