consola
consola copied to clipboard
🎨 Allow configuring consola to auto colorize the according to type
Describe the feature
Hi 👋🏻
I'm using consola in all of my project and in few of them I've to colorize the output text along with the type. For example with consola.info we'll get output like below:
consola.info('🚀 Utils loaded')
However, I want to colorize it like below when I use info:
(I've to write like this everywhere: consola.info(colorize('cyan', '🚀 Utils loaded')))
This will be same for error, warn, success, etc
Additional information
- [ ] Would you be willing to help implement this feature?
Good idea. We can allow this opt-in per type (pr welcome)