Closed jongpie closed 2 months ago
Attention: Patch coverage is 96.55172%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 93.16%. Comparing base (
4fe4c36
) to head (76a97cd
).
Files | Patch % | Lines |
---|---|---|
...e/main/logger-engine/lwc/logger/logEntryBuilder.js | 92.30% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Core Unlocked Package Changes
Resolved #718 by adding the ability to set custom fields on a log entry in JavaScript (lightning components), using a new function
setField()
inlogEntryBuilder.js
. This is equivalent to the Apex method overloadssetField()
inLogEntryEventBuilder.cls
that were introduced in releasev4.13.14
.To use the new
setField()
function, pass an object as the function's single parameter. The object should contain the custom fields onLogEntryEvent__e
that you want to set, along with their corresponding values. For example:{ SomeField__c": "some value", "AnotherField__c": "another value" }
Recipes Metadata Changes
LogEntry__c
. This just makes it quick & easy to verify that the functionality works for lightning components.