# LogEventKind

Package: [Microsoft.Orleans.Durable](/orleans/docs/api/csharp/microsoft.orleans.durable/) 10.0.0-alpha.1

```csharp
[Orleans.GenerateSerializer]
[Orleans.Alias(Orleans.Durable.Journaling.LogEventKind)]
public enum LogEventKind
```

Identifies the kind of a `Orleans.Durable.Journaling.LogEvent-1`.

## Fields

- `Entry` = `0` - Item is the entry with sequence number Sequence.
- `Reset` = `1` - The entries which the reader observed were replaced, because Clear discarded them, the journal was deleted, the reader resumed from another epoch's history, or the reader's position follows the end of the log. Discard any entries read before this event. The stream continues from Sequence, the first retained entry of the history identified by Epoch.
- `DraftItem` = `2` - Item is the volatile item at position Sequence of draft DraftId. Position zero begins the draft's content.
- `DraftCommitted` = `3` - Draft DraftId closed, and its content is replaced by the Count entries which begin at sequence number Sequence. Discard its items. A count of zero means that the draft closed cleanly without entries.
- `DraftAbandoned` = `4` - Draft DraftId closed without entries for the reason in AbandonReason. Discard its items.
- `Trimmed` = `5` - TrimBefore discarded the entries before Sequence, the new first retained entry. Entries read from that sequence onward remain valid. A reader positioned before it continues from it.
- `CaughtUp` = `6` - The stream has delivered every entry which was committed when the read began. Sequence is the reader's position. The stream delivers this event once.
- `Sealed` = `7` - Seal ended the log, whose entries end before Sequence. This is the stream's final event.
