Skip to content

feat(log): export component_flag_filter() - #105

Merged
rezib merged 3 commits into
mainfrom
pr/feat-99
Oct 29, 2026
Merged

rezib merged 3 commits into
mainfrom
pr/feat-99

Conversation

@rezib

@rezib rezib commented Oct 29, 2026

Copy link
Copy Markdown
Contributor
  • Export component_flag_filter() so handlers created outside setup_logger() can apply the same component allow-list.
  • Use that helper from setup_logger() and enforce_debug(). Flag rules are unchanged: the first logger-name segment, ALL, DEBUG gated by debug_flags, and None as an empty list.
  • Document the helper and cover it directly, leaving setup_logger() with one check that the filter is installed.

Fix #99

rezib added 3 commits October 29, 2026 09:08
Share the component allow-list used by setup_logger() and
enforce_debug() so custom handlers can apply the same flags.

fix #99
@rezib rezib added this to the v1.10.0 milestone Oct 29, 2026
@rezib rezib self-assigned this Oct 29, 2026
@rezib
rezib merged commit 3f16572 into main Oct 29, 2026
24 checks passed
@rezib
rezib deleted the pr/feat-99 branch October 29, 2026 08:14
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.

log: export public component flag filter for custom handlers

1 participant