...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::register_formatter_factory — The function registers a user-defined formatter factory.
// In header: <boost/log/utility/setup/formatter_parser.hpp> template<typename CharT> void register_formatter_factory(attribute_name const & attr_name, shared_ptr< formatter_factory< CharT > > const & factory);
The function registers a user-defined formatter factory. The registered factory function will be called when the formatter parser detects the specified attribute name in the formatter string.
Parameters: |
|
||||
Requires: |
|