Class func_logger

Inheritance Relationships

Base Type

Class Documentation

class stream_client::func_logger : public stream_client::base_logger

Logger calls passed callback function to log messages.

Public Functions

inline func_logger(log_level level, stream_client::log_func_type log_func)
func_logger(const func_logger &other) = default

Copy constructor.

func_logger &operator=(const func_logger &other) = default

Copy assignment.

func_logger(func_logger &&other) = default

Move constructor.

func_logger &operator=(func_logger &&other) = default

Move assignment.

virtual ~func_logger() = default

Destructor.

inline virtual void message(log_level level, const std::string &location, const std::string &message) const override

Log arbitrary message.