Skip to content

log: export optableMessage, the wrapper debug logger - #325

Open
etiennelatendresse-optable wants to merge 1 commit into
masterfrom
migrate-optable-message-from-solution
Open

log: export optableMessage, the wrapper debug logger#325
etiennelatendresse-optable wants to merge 1 commit into
masterfrom
migrate-optable-message-from-solution

Conversation

@etiennelatendresse-optable

@etiennelatendresse-optable etiennelatendresse-optable commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Why

Add a function that logs its arguments to the console with an [OPTABLE WRAPPER] prefix but only when the optableDebug flag is on.

What Changed

  • Add the optableDebug function
  • Add tests to ensure it works as intended
  • Update flags.md

How to Test

  • Tested
  • Docs updated

Notes

@etiennelatendresse-optable
etiennelatendresse-optable force-pushed the migrate-optable-message-from-solution branch from 2fe5a4e to ee15c98 Compare August 25, 2026 17:09
Comment thread lib/core/log.ts

export { consoleLog, debugLog };
// Debug logger for wrapper bundles, gated on the optableDebug flag. The
// "[OPTABLE WRAPPER]" prefix is what QA filters on.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove comment to explain QA

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

Successfully merging this pull request may close these issues.

2 participants