New Release v4.9.6 - Updated Logger.getUserSettings() to set defaults based on the environment type #419
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Core Unlocked Package Changes
LoggerSettings__c
fieldsLoggingLevel__c
,IsApexSystemDebugLoggingEnabled__c
, andIsJavaScriptConsoleLoggingEnabled__c
to make the default values be the recommended values for production orgsLogger.getUserSettings()
to set some field values based on if the current org is a sandbox. This also applies when using the included 'Logger Settings' tab (which displays the LWCloggerSettings
).LoggingLevel__c
now defaults to 'INFO'IsApexSystemDebugLoggingEnabled__c
andIsJavaScriptConsoleLoggingEnabled__c
default tofalse
LoggingLevel__c
now defaults to 'FINEST'IsApexSystemDebugLoggingEnabled__c
andIsJavaScriptConsoleLoggingEnabled__c
default totrue
LoggerEngineDataSelector
class to still leverage data cached in Platform Cache (if available), even if querying is disabled for a particular methodSystem
namespace to all references to theFeatureManagement
class - this helps avoid naming collisions in orgs using the unlocked package that have a custom class with the same nameLogger
inLogEntryBuilder
&LogEntryBuilder_Tests
, which finishes up some ongoing tech debt cleanup to makeLogEntryEventBuilder
independent/unaware ofLogger
Pipeline Improvements
build.yml
to skip unnecessary code coverage calculations for all test runs except for the final synchronous run in the Experience Cloud scratch org (when code coverage data is uploaded to Codecov.io)This discussion was created from the release Updated Logger.getUserSettings() to set defaults based on the environment type.
Beta Was this translation helpful? Give feedback.
All reactions