Skip to content
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

Support non-standard console methods #38

Open
zacklitzsinger opened this issue Oct 4, 2016 · 2 comments
Open

Support non-standard console methods #38

zacklitzsinger opened this issue Oct 4, 2016 · 2 comments

Comments

@zacklitzsinger
Copy link

I would like to use js-logger with console.group. I know it's not standard, but I don't see why js-logger couldn't implement all console methods available in the current environment.

@nusson
Copy link

nusson commented Oct 27, 2016

+1
chrome's console is awesome and I don't know if i can not use some features like console.group, color (console.log('%c solething', 'color:blue')) ...

@Download
Copy link

My idea for coloring is that you want to abstract it out so you can have it work on node as well as browsers that support it. E.g.:

import { blue } from 'ucolor'
log.info(blue('something'))

I think it should be in a separate library. Something like colors or chalk that works universally. I once reserved the NPM namespace ucolor for it, but I never got around to implementing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants