Function stream_client::set_logger(std::shared_ptr<log_interface>)

Function Documentation

inline void stream_client::set_logger(std::shared_ptr<log_interface> logger)

Set logger for the library.

Note

All set_logger() variants overwrite each other. You can either set it via callback or an instance.

Parameters

[in] logger – Logger instance to use. If nullptr logger will print messages to std::cout up to trace level.