You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
jd-solanki
changed the title
allow configuring consola to auto colorize the according to type
🎨 Allow configuring consola to auto colorize the according to type
May 24, 2024
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:
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
The text was updated successfully, but these errors were encountered: