# ILogConsistencyProtocolServices

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

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.EventSourcing)

```csharp
public interface ILogConsistencyProtocolServices
```

Functionality for use by log view adaptors that use custom consistency or replication protocols. Abstracts communication between replicas of the log-consistent grain in different clusters.

## Properties

- [GrainId](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/properties/grainid-7f79f825/)
- [MyClusterId](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/properties/myclusterid-7d93e14d/)

## Methods

- [CaughtException(string, Exception)](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/methods/caughtexception-string-system-exception-d3fa44e9/)
- [CaughtUserCodeException(string, string, Exception)](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/methods/caughtusercodeexception-string-string-system-exception-05f4427b/)
- [DeepCopy(T)](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/methods/deepcopy-1-t-b1e0a1f6/)
- [Log(LogLevel, string, object[])](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/methods/log-microsoft-extensions-logging-loglevel-string-params-object-array-1-898746ac/)
- [ProtocolError(string, bool)](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/methods/protocolerror-string-bool-bca473f3/)
