stylized console logging for development and production builds #1393
Labels
CLI
enhancement
Improve something existing (e.g. no docs, new APIs, etc)
good first issue
Good for newcomers
Milestone
Type of Change
Enhancement
Summary
It would be nice to get some stylized console log coloring for supported terminals to better help distinguish normal console logs from warning or errors.
For example, especially when logging out warning from the import map generator, coloring these in yellow would be nice.
Details
I think it would be great to create some logging utilities with some pre-defined methods we can use to provide pre-stylized text
logLog
- basically the same as just normalconsole.log
outputlogWarn
- usesconsole.warn
but with yellow / amber colored textlogError
- usesconsole.error
but with red textlogSuccess
- - usesconsole.log
but with green text (to signify the completion of key tasks within Greenwood on a case by case basis)The text was updated successfully, but these errors were encountered: