Skip to content

Commit

Permalink
Updated Apex docs for LogEntryEventBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
jongpie committed Nov 7, 2024
1 parent 18cfb37 commit 49d4545
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/apex/Logger-Engine/LogEntryEventBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,26 @@ LogEntryEventBuilder

The same instance of `LogEntryEventBuilder`, useful for chaining methods

#### `setRecord(System.Iterable<Id> recordsIds)``LogEntryEventBuilder`

Sets the log entry event&apos;s record fields

##### Parameters

| Param | Description |
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `recordsIds` | The Set of `SObject` records ids related to the entry. Will be converted to list and the JSON of the list is automatically added to the entry |

##### Return

**Type**

LogEntryEventBuilder

**Description**

The same instance of `LogEntryEventBuilder`, useful for chaining methods

#### `setRecordId(Id recordId)``LogEntryEventBuilder`

Deprecated - use `setRecord(Id recordId)` instead
Expand Down

0 comments on commit 49d4545

Please sign in to comment.