Available languages: [Python](https://databento.com/docs/api-live/helpers/ilog-receiver-receive.python.md) · [C++](https://databento.com/docs/api-live/helpers/ilog-receiver-receive.cpp.md) · [Rust](https://databento.com/docs/api-live/helpers/ilog-receiver-receive.rust.md) · [Raw](https://databento.com/docs/api-live/helpers/ilog-receiver-receive.raw.md)

Source: https://databento.com/docs/api-live/helpers/ilog-receiver-receive


### ILogReceiver::Receive

Receive a log message from the databento client library.

#### API method

```cpp
void Receive(LogLevel level, const std::string& msg);
```

#### Parameters

| Parameter | Type | Description |
| `level` | LogLevel | The severity of the log event. |
| `msg` | std::string | The message describing the event. |

#### Returns

`void`
