Function stream_client::set_logger(log_level, stream_client::log_func_type)¶
Defined in File logger.ipp
Function Documentation¶
-
inline void
stream_client
::
set_logger
(log_level level, stream_client::log_func_type log_func)¶ Set log callback for the library.
Note
All set_logger() variants overwrite each other. You can either set it via callback or an instance.
- Parameters
[in] level – Logger level to use. The level can be changed after with set_log_level().
[in] log_func – Logger function to use.