# LogConsistencyProvider

Package: [Microsoft.Orleans.EventSourcing](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.EventSourcing) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.EventSourcing/LogStorage/LogConsistencyProvider.cs#L14)

```csharp
public class LogConsistencyProvider : ILogViewAdaptorFactory
```

A log-consistency provider that stores the latest view in primary storage, using any standard storage provider. Supports multiple clusters connecting to the same primary storage (doing optimistic concurrency control via e-tags) 

The log itself is transient, i.e. not actually saved to storage - only the latest view (snapshot) and some metadata (the log position, and write flags) are stored in the primary.

## Constructors

- [LogConsistencyProvider](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.logstorage.logconsistencyprovider/constructors/constructor-dc8ca7d3/)

## Properties

- [UsesStorageProvider](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.logstorage.logconsistencyprovider/properties/usesstorageprovider-f00d4ec1/)

## Methods

- [MakeLogViewAdaptor(ILogViewAdaptorHost&lt;TView, TEntry&gt;, TView, string, IGrainStorage, ILogConsistencyProtocolServices)](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.logstorage.logconsistencyprovider/methods/makelogviewadaptor-2-orleans-eventsourcing-ilogviewadaptorhost-tview-tentry-tvie-a262048b/)
