Introducing Bolt Logger - A Unified Error Logging Framework for Salesforce

Salesforce debugging is fragmented. Standard debug logs waste time. Flows fail silently. Lightning Web Component (LWC) client-side crashes never reach the server. Critical errors trigger thousands of emails, exhausting your daily limits.

Bolt Logger solves this. It acts as a unified "Black Box" for your Salesforce org. It captures errors from Apex, Flow, LWC, and Batch jobs in one central object, eliminating noise and protecting your data.

The Solution: One Place for Everything

Bolt Logger centralizes your error management. Built on Platform Events, it ensures logs persist even if the main transaction rolls back. It operates entirely independently of Salesforce email limits.

Key Features

  • Real-Time Bell Notifications: Receive critical alerts directly via the Salesforce Bell icon. Bypass email limits entirely and notify only your designated Admin group.
  • Privacy First (PII Scrubbing): Protect customer data. The system automatically scrubs sensitive information—like emails and Social Security Numbers—before saving the log.
  • Dynamic Volume Control: Troubleshoot production issues instantly. Toggle your logging level from 'Error' to 'Debug' using Custom Metadata. No code deployment required.
  • Analytics Dashboard: Visualize org health. Track daily error trends and identify your top failing classes and features at a glance.
  • Automated Limit Snapshots: Capture CPU, SOQL, and Heap usage at the exact moment of failure to streamline performance debugging.
  • Auto-Janitor Cleanup: Save storage space. A scheduled batch job automatically deletes logs older than 30 days.
  • User-Friendly Error UI: Replace raw "Script Exceptions" with a clean LWC interface for end-users, while capturing the technical stack trace in the background.

Install Bolt Logger Today

Bolt Logger is free, open-source, and available as an unmanaged package.

Get the source code and install here: 🔗 GitHub - Batra-Kapil / Bolt-Logger

Quick Setup:

  1. Install the package in your Sandbox or Production org.

  2. Assign the Bolt Logger Admin permission set to yourself.

  3. Add your user to the Bolt Logger Admins public group to enable real-time notifications.

 

Checkout Complete Video Tutorial Below

 If you have any question please leave a comment below.

If you would like to add something to this post please leave a comment below.
Share this blog with your friends if you find it helpful somehow !

Thanks

Post a Comment

0 Comments