-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
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
feat: support console.log with colors #609
Comments
Fun fact! There should be color support in there already, since we took the inspect util from Node: txiki.js/src/js/polyfills/console-util.js Line 116 in 84267a1
It's just not enabled by default. |
console.log is a very cumbersome thing, e.g. in some scenarios it may be better to output part of the information, otherwise it will be cluttered with a lot of useless information
|
Agreed. Note that the above is the REPL, which doesn't use console.log for its output, even though they both end up sending their output to |
Will it support colored console.log output? Using different colors for different types will make it easier to distinguish
https://github.com/ahaoboy/deno-ext/tree/main/deno-console
If someone wants to use a styled console, they can use the following code to override the original implementation
The text was updated successfully, but these errors were encountered: