# JournalStreamWriter

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

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Journaling/JournalStreamWriter.cs#L10)

```csharp
public readonly struct JournalStreamWriter
```

Writes journal entries for one state into the current journal batch.

## Remarks

This type does not write to storage directly. Entries are buffered by the owning [JournalBufferWriter](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journalbufferwriter/).

## Methods

- [BeginEntry](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.journalstreamwriter/methods/beginentry-37d74d43/)
