Reference

boost::redis::config::log_prefix

(Deprecated) Sets the logger prefix, a string printed before log messages.

Synopsis

Declared in <boost/redis/config.hpp>

std::string log_prefix = "(Boost.Redis) ";

Description

Setting a prefix in this struct is deprecated. If you need to change how log messages look like, please construct a logger object passing a formatting function, and use that logger in connection's constructor. This member will be removed in subsequent releases.

Created with MrDocs