# LogEntryEvent__e

**Sobject**

<div class="apex-member apex-class">

```apex
global class LogEntryEvent__e extends SObject
```

**Extends:** [SObject](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_sobject.htm)

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.

</div>

---

## Fields

| Field | Description |
|-------|-------------|
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [ClassMethod__c](#classmethod-c) | Source class and method where the event occurred, formatted as Class.method. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [ContextData__c](#contextdata-c) | JSON map of key-value pairs providing structured context about the operation. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [CorrelationId__c](#correlationid-c) | Unique identifier linking related log entries across multiple transactions. |
| global [Decimal](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_decimal.htm) [DurationMs__c](#durationms-c) | Duration of the operation in milliseconds. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [ExceptionType__c](#exceptiontype-c) | The type of the failure this event records: a fully qualified Apex exception class name (e.g., System.DmlException), or for entries logged from a Lightning web component, the JavaScript error name or the Apex type relayed from a failed server call. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [ExecutionEvent__c](#executionevent-c) | Salesforce execution context (Quiddity) that produced this log entry. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [Fingerprint__c](#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](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [Limits__c](#limits-c) | JSON snapshot of Salesforce governor limits at the time the event was logged. |
| global [Decimal](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_decimal.htm) [LineNumber__c](#linenumber-c) | Source code line number in the Apex class where the exception occurred. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [LogLevel__c](#loglevel-c) | Severity level of this log entry: DEBUG, INFO, WARN, or ERROR. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [Message__c](#message-c) | Full log message content. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [Origin__c](#origin-c) | Who wrote this entry: FRAMEWORK, APEX, FLOW or COMPONENT. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [ParentTransactionId__c](#parenttransactionid-c) | Transaction ID of the parent process that spawned this execution context. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [RecordId__c](#recordid-c) | Salesforce record ID associated with this log entry, if applicable. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [RootCorrelationId__c](#rootcorrelationid-c) | The tracking id of the action that started everything this entry belongs to. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [ShortMessage__c](#shortmessage-c) | Brief summary of the log message, safe for SOQL WHERE and GROUP BY clauses. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [Source__c](#source-c) | The class, Flow or component that wrote this entry, without the namespace or the method name. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [StackTrace__c](#stacktrace-c) | Apex execution stack trace captured at the time the event was logged. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [TransactionId__c](#transactionid-c) | Salesforce Request ID for the transaction that produced this log entry. |
| global [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm) [UserId__c](#userid-c) | Salesforce User ID of the user whose execution context produced this log entry. |

### ClassMethod__c

```apex
global String ClassMethod__c
```

Source 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

```apex
global String ContextData__c
```

JSON map of key-value pairs providing structured context about the operation.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Long Text Area(32768) |

### CorrelationId__c

```apex
global String CorrelationId__c
```

Unique 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

```apex
global Decimal DurationMs__c
```

Duration of the operation in milliseconds.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Number(18,0) |
| Required | false |
| Unique | false |
| External ID | false |

### ExceptionType__c

```apex
global String ExceptionType__c
```

The type of the failure this event records: a fully qualified Apex exception class name (e.g., System.DmlException), or for entries logged from a Lightning web component, the JavaScript error name or the Apex type relayed from a failed server call.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Text(80) |
| Required | false |
| Unique | false |
| External ID | false |

### ExecutionEvent__c

```apex
global String ExecutionEvent__c
```

Salesforce 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

```apex
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.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Text(216) |
| Required | false |
| Unique | false |
| External ID | false |

### Limits__c

```apex
global String Limits__c
```

JSON snapshot of Salesforce governor limits at the time the event was logged.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Long Text Area(1024) |

### LineNumber__c

```apex
global Decimal LineNumber__c
```

Source 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

```apex
global String LogLevel__c
```

Severity 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

```apex
global String Message__c
```

Full log message content. May contain exception details, stack traces, or diagnostic text.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Long Text Area(131072) |

### Origin__c

```apex
global String Origin__c
```

Who wrote this entry: FRAMEWORK, APEX, FLOW or COMPONENT. Copied to the log entry's Origin picklist.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Text(20) |
| Required | false |
| Unique | false |
| External ID | false |

### ParentTransactionId__c

```apex
global String ParentTransactionId__c
```

Transaction 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

```apex
global String RecordId__c
```

Salesforce record ID associated with this log entry, if applicable.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Text(18) |
| Required | false |
| Unique | false |
| External ID | false |

### RootCorrelationId__c

```apex
global String RootCorrelationId__c
```

The tracking id of the action that started everything this entry belongs to. Equal to the correlation id until a background chain continues the action under a tracking id of its own.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Text(36) |
| Required | false |
| Unique | false |
| External ID | false |

### ShortMessage__c

```apex
global String ShortMessage__c
```

Brief 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 |

### Source__c

```apex
global String Source__c
```

The class, Flow or component that wrote this entry, without the namespace or the method name.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Text(100) |
| Required | false |
| Unique | false |
| External ID | false |

### StackTrace__c

```apex
global String StackTrace__c
```

Apex execution stack trace captured at the time the event was logged.

**Field Attributes:**

| Attribute | Value |
|-----------|-------|
| Data Type | Long Text Area(4096) |

### TransactionId__c

```apex
global String TransactionId__c
```

Salesforce 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

```apex
global String UserId__c
```

Salesforce 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 |
