soroban-abacus-flashcards/packages
Thomas Hallock cdd53f6602 feat(llm-client): add configurable logging system
Add a flexible logging system to the llm-client package that can be
enabled/disabled without rebuilding:

- Add Logger class with configurable enable/disable and custom logger support
- Add LogLevel, LoggerFn, LoggingConfig types
- Add `debug` option to LLMStreamRequest for per-request logging override
- Add setLogging() method for runtime enable/disable
- Replace hardcoded console.log in openai-responses provider with logger
- Add ?debug=true query param to flowchart generate endpoint

Usage:
- Per-request: llm.stream({ ..., debug: true })
- Global: llm.setLogging({ enabled: true })
- Custom logger: new LLMClient({ logging: { enabled: true, logger: fn } })

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 15:17:31 -06:00
..
abacus-react feat(worksheet-parsing): add bulk exclude/restore and improve approve flow 2026-01-02 21:39:43 -06:00
core feat(worksheet-parsing): add cancel button for parsing and re-parsing 2026-01-03 12:24:28 -06:00
llm-client feat(llm-client): add configurable logging system 2026-01-22 15:17:31 -06:00
templates 🎨 Update template examples and crop mark gallery 2026-01-18 02:47:32 +00:00