feat(logging): add --debug global flag for enhanced CLI logging #24
+224
−39
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 of new changes
Adds a
--debugglobal flag that enables verbose debug logging to both console and log file. Debug logging activates when either the flag is passed ORdebug_enabledconfig istrue.Changes
fab_global_params.py: Added--debugflag to global parser optionsfab_logger.py:set_verbose_enabled()andis_debug_enabled()functionslog_debug()now writes to console ([debug]prefix) and log fileis_debug_enabled()checkmain.py: Propagates--debugflag to logging systemdocs/essentials/settings.md: Added "Debug Logging" documentation sectionUsage
Output shows log file location and prefixes debug messages with
[debug]:✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.