Typedef stream_client::log_func_type

Typedef Documentation

using stream_client::log_func_type = std::function<void(log_level level, const std::string &location, const std::string &message)>

Type of the function used to log messages by the library logger.

Note

Thread-safe.

Parameters
  • [in] level – Level of the message.

  • [in] location – Location of the message. Used for filtering messages from different parts of the library.

  • [in] message – The body and main reason of message.