-
Notifications
You must be signed in to change notification settings - Fork 27
Home
RFLIB helps developers create clean, production-ready Salesforce code with a high level of operational supportability. Inspired by Dan Appleman’s logging design patterns, RFLIB provides robust tools for logging, diagnostics, and feature toggling, ensuring better visibility and control for both development and production environments.
- Multi-environment Support: Logs from Apex, Lightning Components (LWC/Aura), Flows, and OmniStudio.
- Advanced Log Management: Features include batched logging, log aggregation, and platform event-based reporting.
- Log Archiving: Store logs in Big Objects for querying beyond Salesforce’s 72-hour limit.
- Integrated Dashboards: Real-time and historical log review with filtering capabilities.
- Log Aggregation: Use the observibility feature to see error counts on daily and weekly basis, helping you to identify when to action and what errors to prioritize before you need to review the entire set of log messages.
- Hierarchical Configuration: Manage switches at user, profile, public group, or global levels.
- Toggle Features: Deploy features hidden from users, enable A/B testing, or deactivate integrations during outages.
- Support Across Salesforce Tools: Compatible with Apex, LWC, Aura, Flows, and Validation Rules.
- Decoupled Design: Manage triggers with configurable activation, error handling, and recursion tracking.
- Custom Metadata Driven: Configure triggers and handlers dynamically without code changes.
- Seamless Testing: Simulate HTTP responses in Salesforce for integration testing without external dependencies.
- Customizable Behavior: Configure mock endpoints and payloads via Custom Metadata.
- Asynchronous Processing: Handle failing actions with up to 8 retry attempts.
- Use Cases: Ideal for web service integrations or other critical asynchronous operations.
- Business Insights: Track feature adoption, integration performance, and other key activities.
- Dashboards: Analyze trends and operational metrics in real-time.
The easiest way to add RFLIB is via an unlocked package:
sf package install --package <latest_package_ID> -w 10 -o <your_org_alias> -w 10
For advanced setups, clone the repository and deploy using:
sf project deploy start -o <your_org_alias>
-
Explore Core Features:
-
Use Dashboards:
-
Learn Best Practices:
-
Try Examples:
- Check the Demo Project for sample implementations.
Access the full documentation for in-depth guides, best practices, and configuration details.
Join our growing community! Report issues, request features, or contribute via our GitHub repository.
For assistance, please refer to our Wiki or contact us via GitHub Issues.
Happy Coding!