# ILogConsistencyProtocolServices.ProtocolError(string, bool)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.ilogconsistencyprotocolservices/methods/)

```csharp
public abstract void ProtocolError(string msg, bool throwexception)
```

Log an error that occurred in a log-consistency protocol.

### Parameters

- `msg` (`string`)
- `throwexception` (`bool`)
