LogEntryEvent__e
Sobject
global class LogEntryEvent__e extends SObjectExtends: SObject
High-volume platform event that transports log data asynchronously. Persisted to LogEntry__c records via trigger. Ensures zero DML impact on the calling transaction and survives rollbacks.
Fields
| Field | Description |
|---|---|
| global String ClassMethod__c | Source class and method where the event occurred, formatted as Class.method. |
| global String ContextData__c | JSON map of key-value pairs providing structured context about the operation. |
| global String CorrelationId__c | Unique identifier linking related log entries across multiple transactions. |
| global Decimal DurationMs__c | Duration of the operation in milliseconds. |
| global String ExceptionType__c | Fully qualified Apex exception class name (e.g., System.DmlException). |
| global String ExecutionEvent__c | Salesforce execution context (Quiddity) that produced this log entry. |
| global String Fingerprint__c | Grouping key carried from LOG_Builder.withFingerprint to the persist trigger, where fingerprinted events collapse into a detail row plus windowed rollup counters. |
| global String Limits__c | JSON snapshot of Salesforce governor limits at the time the event was logged. |
| global Decimal LineNumber__c | Source code line number in the Apex class where the exception occurred. |
| global String LogLevel__c | Severity level of this log entry: DEBUG, INFO, WARN, or ERROR. |
| global String Message__c | Full log message content. |
| global String ParentTransactionId__c | Transaction ID of the parent process that spawned this execution context. |
| global String RecordId__c | Salesforce record ID associated with this log entry, if applicable. |
| global String ShortMessage__c | Brief summary of the log message, safe for SOQL WHERE and GROUP BY clauses. |
| global String StackTrace__c | Apex execution stack trace captured at the time the event was logged. |
| global String TransactionId__c | Salesforce Request ID for the transaction that produced this log entry. |
| global String UserId__c | Salesforce User ID of the user whose execution context produced this log entry. |
Field Details
ClassMethod__c
global String ClassMethod__cSource class and method where the event occurred, formatted as Class.method.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(100) |
| Required | false |
| Unique | false |
| External ID | false |
ContextData__c
global String ContextData__cJSON map of key-value pairs providing structured context about the operation.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Long Text Area(32768) |
CorrelationId__c
global String CorrelationId__cUnique identifier linking related log entries across multiple transactions.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(36) |
| Required | false |
| Unique | false |
| External ID | false |
DurationMs__c
global Decimal DurationMs__cDuration of the operation in milliseconds.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Number(18,0) |
| Required | false |
| Unique | false |
| External ID | false |
ExceptionType__c
global String ExceptionType__cFully qualified Apex exception class name (e.g., System.DmlException).
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(80) |
| Required | false |
| Unique | false |
| External ID | false |
ExecutionEvent__c
global String ExecutionEvent__cSalesforce execution context (Quiddity) that produced this log entry.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(40) |
| Required | false |
| Unique | false |
| External ID | false |
Fingerprint__c
global String Fingerprint__cGrouping key carried from LOG_Builder.withFingerprint to the persist trigger, where fingerprinted events collapse into a detail row plus windowed rollup counters.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(216) |
| Required | false |
| Unique | false |
| External ID | false |
Limits__c
global String Limits__cJSON snapshot of Salesforce governor limits at the time the event was logged.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Long Text Area(1024) |
LineNumber__c
global Decimal LineNumber__cSource code line number in the Apex class where the exception occurred.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Number(8,0) |
| Required | false |
| Unique | false |
| External ID | false |
LogLevel__c
global String LogLevel__cSeverity level of this log entry: DEBUG, INFO, WARN, or ERROR.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(10) |
| Required | false |
| Unique | false |
| External ID | false |
Message__c
global String Message__cFull log message content. May contain exception details, stack traces, or diagnostic text.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Long Text Area(131072) |
ParentTransactionId__c
global String ParentTransactionId__cTransaction ID of the parent process that spawned this execution context.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(36) |
| Required | false |
| Unique | false |
| External ID | false |
RecordId__c
global String RecordId__cSalesforce record ID associated with this log entry, if applicable.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(18) |
| Required | false |
| Unique | false |
| External ID | false |
ShortMessage__c
global String ShortMessage__cBrief summary of the log message, safe for SOQL WHERE and GROUP BY clauses.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(255) |
| Required | false |
| Unique | false |
| External ID | false |
StackTrace__c
global String StackTrace__cApex execution stack trace captured at the time the event was logged.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Long Text Area(4096) |
TransactionId__c
global String TransactionId__cSalesforce Request ID for the transaction that produced this log entry.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(36) |
| Required | false |
| Unique | false |
| External ID | false |
UserId__c
global String UserId__cSalesforce User ID of the user whose execution context produced this log entry.
Field Attributes:
| Attribute | Value |
|---|---|
| Data Type | Text(18) |
| Required | false |
| Unique | false |
| External ID | false |