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

Add debug logging #59

Closed
jacogr opened this issue Jan 9, 2018 · 1 comment · Fixed by #60
Closed

Add debug logging #59

jacogr opened this issue Jan 9, 2018 · 1 comment · Fixed by #60

Comments

@jacogr
Copy link
Member

jacogr commented Jan 9, 2018

  1. Parse DEBUG=foor,bar polkadot.js ...
  2. Inside logging,
  • when debugKeys.includes(key), l.debug(...) -> l.log(...)
  • when !debugKeys.includes(key), l.debug(...) -> () => void
@jacogr jacogr added this to To Do in @polkadot{.js} via automation Jan 9, 2018
@jacogr jacogr closed this as completed in #60 Jan 9, 2018
@polkadot{.js} automation moved this from To Do to Done Jan 9, 2018
@polkadot-js-bot
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants