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

Source: https://databento.com/docs/api-live/helpers/console-log-receiver


### ConsoleLogReceiver

The `ConsoleLogReceiver` implements the [ILogReceiver](https://databento.com/docs/api-live/helpers/ilog-receiver.md) interface forwarding messages to the console, one of the following [std::ostream](https://en.cppreference.com/w/cpp/io/basic_ostream) objects.

#### API method

```cpp
ConsoleLogReceiver();
ConsoleLogReceiver(LogLevel min_level);
ConsoleLogReceiver(std::ostream& stream);
ConsoleLogReceiver(LogLevel min_level, std::ostream& stream);
```

#### Parameters

| Parameter | Type | Description |
| `min_level` | LogLevel | The minimum severity required to be forwarded to `stream`. Defaults to `Info`, meaning `Debug` messages will be ignored. |
| `stream` | std::ostream& | The output stream to forward messages to. Defaults to [std::clog](https://en.cppreference.com/w/cpp/io/clog) which writes to standard error. |
