New Version v4.9.11 - Support for logging Map<Id, SObject>, Slack Plugin Improvements #463
jongpie
announced in
Announcements
Replies: 1 comment 1 reply
-
Hi Jonathan, Good Day!! Recently upgraded to latest version 4.9.11 from 4.6.x and post upgradation logs are not generating. After investigation I seen that in Logger Settings extra option 'Enable Saving' added which needs to be checked then it started generating logs. Please note it in upgrade process. This needs to enable both on default settings and setup owners . Please add in upgrade process documentation if its not added. Thanks, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Core Package Changes -
v4.9.11
Apex Logging Improvements
LogEntryEventBuilder.setRecord(Map<Id, SObject> recordIdToRecord)
Logger
directly - I might in a future release, but for now,setRecord()
can be called by chaining the method to one of Logger's methods, likeLogger.info('some message').setRecord(recordIdToRecord)
System.debug()
calls inLogger
to start with 'Nebula Logger' instead of just 'Logger' for clarityAdmin Improvements
LogEntry__c.LoggingLevelWithImage__c
to use a different emoji for INFO (✅) vs lower levels (⚙️ for DEBUG, FINE, FINER, and FINEST)LogEntry__c
to describe the thresholds used to determine which emojis are shown in the formulas (⛔AnimationRule
metadata forLog__c.Status__c
to show confetti when the status changes 🥳 🎊Bugfixes
LogEntryEventHandler
to have an extra null check when processingLogEntryTagRule__mdt
rules - thanks to @ramagrubhubGithub for reporting thisLogger.getUserSettings()
to always use default field values, and makingLoggerSettingsController
responsible for handling prod-specific settings - thanks to @arbokrad for reporting & chatting through this issue with meLogger.getUserSettings()
consistent in all orgs (instead of prod behaving differently from sandboxes/scratch orgs), while still providing the suggested defaults for a prod org via theloggerSettings
LWC/custom tabLoggerSettings__c
have also been updated to provide the most detailed settings by defaultLogger.createSettings()
- this doesn't seem needed in the managed package right now, sopublic
seems sufficient (instead of usingglobal
)Slack Plugin Package Changes -
v1.5.2
SlackLoggerPlugin
Apex class to leverage a new field set,Log__c.SlackNotificationFields
, to support customization of the fields shown in Slack notificationsLoggerParameter.SlackLogNotificationFieldSet
Slack.remoteSite-meta.xml
toLoggerSlack.remoteSite-meta.xml
to ensure there's consistency in having some variation of the word "Log" in all metadata. Some orgs unintentionally had a previously-existing remote site setting (also named just "Slack") unintentionally overwritten - this name change should help avoid overwriting existing remote site settings for Slack.Installation Info
Moving forward, new release notes will now include this section to provide the
sfdx
installation commands & installation links for any new package versions. Thanks to @MeStrak for pointing out that the CLI commands weren't included anywhere in the docs - including these details in the release notes will make is much easier for everyone to easily install a specific version, using whichever installation method you prefer.Please note that the included
sfdx
commands use the latest syntax and parameters - these versions of the commands may not work with older versions ofsfdx
, as newer versions ofsfdx
use a simpler syntax, and some command parameters have been renamed.Core Unlocked Package - no namespace
sfdx package install --apex-compile package --wait 20 --security-type AdminsOnly --package 04t5Y0000015nDxQAI
Slack Unlocked Package Plugin - no namespace
sfdx package install --apex-compile package --wait 20 --security-type AdminsOnly --package 04t5Y0000015nDJQAY
This discussion was created from the release Support for logging Map, Slack Plugin Improvements.
Beta Was this translation helpful? Give feedback.
All reactions