# HostUtils.SendLogMessageToCloudDelegate delegate

Namespace: [Rhino.Runtime](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.runtime.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public delegate HostUtils.SendLogMessageToCloudDelegate
```

Represents a reference to a method that will be called when an exception occurs.

**Signature:**

```cs
void HostUtils.SendLogMessageToCloudDelegate(LogMessageType msg_type, string sClass, string sDesc, string sMessage)
```

**Parameters:**

- `msg_type` ([HostUtils.LogMessageType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.hostutils.logmessagetype.md)): The messag type
- `sClass` ([string](https://learn.microsoft.com/dotnet/api/system.string)): The top level message type
- `sDesc` ([string](https://learn.microsoft.com/dotnet/api/system.string)): Finer grained description of the message.
- `sMessage` ([string](https://learn.microsoft.com/dotnet/api/system.string)): The message.
