To install this plugin and get it setup within your org properly:
- Make sure you have Nebula Logger installed! The minimum version you should have is:
4.5.2
- Install the unmanaged package via the button(s) above
- Navigate to the Rollup Plugin CMDT (Setup -> Custom Metadata Types -> Manage Records next to Rollup Plugin -> New)
- (This should already be done for you, upon install, but always good to double-check) - Enter
RollupNebulaLoggerAdapter
into theRollup Plugin Name
field, choose theOrg_Default
rollup control record (and ensureIs Rollup Logging Enabled?
is checked off on that record); the label can be whatever you'd like. At this time, there are noRollup Plugin Parameter
entries needed for this particular plugin.
That's it! Logs will now start flowing through on all rollup operations to Log__c
, as they would with any other logging being done by Nebula.
A few points specific to Apex Rollup within your logs:
Log__c.Scenario__c
is set toApex Rollup
LogEntry__c.OriginLocation__c
deliberately suppresses the logging classes in Apex Rollup so that theOriginLocation__c
is properly reported as the first actual method called in Apex Rollup