Skip to content

Add Declarative Configuration for Ignoring Apex Classes in Stack Traces#908

Open
JMercie wants to merge 2 commits intojongpie:mainfrom
JMercie:feature/890-Add_the_ability_to_declaratively_ignore_origin_Apex_classes
Open

Add Declarative Configuration for Ignoring Apex Classes in Stack Traces#908
JMercie wants to merge 2 commits intojongpie:mainfrom
JMercie:feature/890-Add_the_ability_to_declaratively_ignore_origin_Apex_classes

Conversation

@JMercie
Copy link
Contributor

@JMercie JMercie commented Sep 23, 2025

Issue Reference: #890

Solution

Implemented a declarative approach that allows admins to configure Apex classes to ignore globally through Custom Metadata Types, without requiring any code changes.

Changes

  • Added IgnoredApexOrigins to LoggerParameter__mdt to drive functionality with default empty array [].
  • ignoreOrigin() calls continue to work unchanged.
  • New IGNORED_APEX_ORIGINS getter and setter for LoggerParamter.cls and LoggerStackTrace.cls.

…k traces.

This allows admins to globally configure Apex classes to be filtered from stack traces without requiring developer code changes, addressing issue jongpie#890.
@JMercie JMercie requested a review from jongpie as a code owner September 23, 2025 19:15
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.

1 participant