Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2022. The current version is 1.90.0.
boost::log::register_simple_formatter_factory — The function registers a simple formatter factory.
// In header: <boost/log/utility/setup/formatter_parser.hpp> template<typename AttributeValueT, typename CharT> void register_simple_formatter_factory(attribute_name const & attr_name);
The function registers a simple formatter factory. The registered factory will generate formatters that will be equivalent to the log::expressions::attr formatter (i.e. that will use the native operator<< to format the attribute value). The factory does not use any arguments from the format string, if specified.
Parameters: |
|
||
Requires: |
|