Skip to content

docs: clarify log precedence#1043

Open
vibhor-aggr wants to merge 1 commit into
debug-js:masterfrom
vibhor-aggr:docs/log-precedence
Open

docs: clarify log precedence#1043
vibhor-aggr wants to merge 1 commit into
debug-js:masterfrom
vibhor-aggr:docs/log-precedence

Conversation

@vibhor-aggr

Copy link
Copy Markdown

Summary

  • clarify the README output-streams section for debug.log precedence
  • state that a namespace-specific log method takes precedence over the global debug.log
  • update the example comments/output text to match the current implementation

Closes #873.

Verification

  • smoke check proving namespace log wins over global debug.log
  • npm run test:node
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Can't set global log() function overriding namespaces ones

1 participant