hugo: Add some colors to the ERROR and WARNING labels
Would the maintainers be open to the idea of adding some colors to hugo server
output?
Sometimes I keep refactoring content/themes and I don’t realize I made an error some time ago. This is mostly because the console output from hugo server
prints error messages without color, so these messages not stand out and alert me.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 15 (11 by maintainers)
Commits related to this issue
- common/loggers: Add color to ERROR and WARN Fixes #4414 — committed to bep/hugo by bep 6 years ago
- common/loggers: Add color to ERROR and WARN Fixes #4414 — committed to bep/hugo by bep 6 years ago
- common/loggers: Add color to ERROR and WARN Fixes #4414 — committed to bep/hugo by bep 6 years ago
- common/loggers: Add color to ERROR and WARN Fixes #4414 — committed to gohugoio/hugo by bep 6 years ago
- i18n: Avoid using the global logger See #4414 — committed to gohugoio/hugo by bep 6 years ago
- common/loggers: Make sure the global logger also gets colored labels See #4414 — committed to gohugoio/hugo by bep 6 years ago
Not sure that folks at work will appreciate my machine beeping on Hugo errors. 😃
It would be nice to have a beep about the error. In the old days, programs were able to squeak through the pc-speaker.
The error messages tend to get pretty long, so I would not be a big fan of painting it all red … We could consider making the “ERROR” label red.