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

Feature/use more appropriate console api functions #365

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kayhadrin
Copy link

Proposing a way to use more appropriate console "log" functions so that we take advantage of the node or browser native console implementation.

i.e.

  • logger.debug will appear in blue in a browser
  • logger.error will appear in red
  • logger.warn will appear in orange in a browser,

David HAN SZE CHUEN added 2 commits March 24, 2016 15:51
…isual feedback

Try to use console.debug if this is running in a browser (browserify)
…ebug or if it doesn't support Function#bind
@nomiddlename
Copy link
Collaborator

Thanks for this, now that version 2.x is out I'll look at merging this.

@lamweili lamweili added the enhancement New feature or request label Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants