We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the status token is used to create custom formats, it comes in white on the console.
Take the following example -
morgan.format( 'custom-format', ':method :url :status :response-time ms - :res[content-length] - :user-agent', );
The status on the console will be white, no matter the status it returns.
My suggestion is to create a new token :colored-status that comes with the colors that we see on the dev format.
Thanks, hope it helps.
The text was updated successfully, but these errors were encountered:
Duplicate of #186
Thanks for the suggestion!
Sorry, something went wrong.
No branches or pull requests
When the status token is used to create custom formats, it comes in white on the console.
Take the following example -
The status on the console will be white, no matter the status it returns.
My suggestion is to create a new token :colored-status that comes with the colors that we see on the dev format.
Thanks, hope it helps.
The text was updated successfully, but these errors were encountered: