Document centralized logging strategy#86
Draft
smar-imran-khawaja with Copilot wants to merge 4 commits into
Draft
Document centralized logging strategy#86smar-imran-khawaja with Copilot wants to merge 4 commits into
smar-imran-khawaja with Copilot wants to merge 4 commits into
Conversation
9 tasks
- Added logging section to README.md explaining the centralized logger - Created docs/LOGGING.md with detailed logging guidelines - Added JSDoc comments to logger utility for better documentation - Documented log levels, usage patterns, and best practices Co-authored-by: smar-imran-khawaja <174051013+smar-imran-khawaja@users.noreply.github.com>
Co-authored-by: smar-imran-khawaja <174051013+smar-imran-khawaja@users.noreply.github.com>
- Clarified filtering instructions for Claude Desktop MCP logs - Better explanation of why alert/emergency levels aren't exposed Co-authored-by: smar-imran-khawaja <174051013+smar-imran-khawaja@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Address feedback on vulnerability fix in PR #84
Document centralized logging strategy
Jan 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Addresses logging consistency feedback from PR #84. The codebase already uses a centralized logger utility (introduced in commit 98b7de6) that ensures MCP protocol compliance. This PR adds documentation to make the logging strategy explicit.
Related Issue
Motivation and Context
The original feedback noted inconsistent logging (console.error, console.debug, console.warn). While the code was already fixed to use a centralized logger, the strategy was undocumented, making it unclear to developers why and how to use it.
How Has This Been Tested?
Screenshots (if appropriate)
N/A
Types of changes
Checklist
Changes
README.md
docs/LOGGING.md (new)
src/utils/logger.ts
Usage Example
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.