-
-
Notifications
You must be signed in to change notification settings - Fork 213
Home
Jonathan Gillespie edited this page Nov 10, 2021
·
4 revisions
Nebula Logger is an open source logging tool for Salesforce. It's designed for Salesforce admins, developers & architects, to aid in development, troubleshooting & monitoring of your Salesforce environments.
- Easily add log entries via Apex, Lightning Components (lwc & aura), Flow & Process Builder to generate 1 consolidate log
- Manage & report on logging data using the
Log__candLogEntry__cobjects - Leverage
LogEntryEvent__eplatform events for real-time monitoring & integrations - Enable logging and set the logging level for different users & profiles using
LoggerSettings__ccustom hierarchy setting- In addition to the required fields on this Custom Setting record,
LoggerSettings__cships withSystemLogMessageFormat__c, which uses Handlebars-esque syntax to refer to fields on theLogEntryEvent__ePlatform Event. You can use curly braces to denote merge field logic, eg:{OriginLocation__c}\n{Message__c}- this will output the contents ofLogEntryEvent__e.OriginLocation__c, a line break, and then the contents ofLogEntryEvent__e.Message__c
- In addition to the required fields on this Custom Setting record,
- Automatically mask sensitive data by configuring
LogEntryDataMaskRule__mdtcustom metadata rules - View related log entries on any Lighting SObject flexipage by adding the 'Related Log Entries' component in App Builder
- Dynamically assign tags to
Log__candLogEntry__crecords for tagging/labeling your logs - Plugin framework: easily build or install plugins that enhance the
Log__candLogEntry__cobjects, using Apex or Flow (not currently available in the managed package) - Event-Driven Integrations with Platform Events, an event-driven messaging architecture. External integrations can subscribe to log events using the
LogEntryEvent__eobject - see more details at the Platform Events Developer Guide site
Learn more about the design and history of the project on the Joys Of Apex:
- Assigning Permission Sets to Users
- Configuring Global Feature Flags
- Configuring Profile & User-Specific Settings
- Configuring Data Mask Rules
Manual Instrumentation
- Logging in Apex
- Logging in Flow & Process Builder
- Logging in Lightning Web Components & Aura Components
- Logging in OmniStudio
- Logging in OpenTelemetry (OTEL) REST API
ISVs & Package Dependencies
- Overview
- Optionally Use Nebula Logger (When Available) with
CallableInterface - Require Nebula Logger with Strongly-Coupled Package Dependency
Troubleshooting
Pub/Sub with Platform Events
Persisted Data with Custom Objects
- Logger Console app
- Assigning & Managing Logs
- Using 'View Related Log Entries' Component on Record Pages
- Deleting Old Logs
Official Plugins