## Class template basic_formatter_factory

boost::log::basic_formatter_factory

## Synopsis

    // In header: <boost/log/utility/setup/formatter_parser.hpp>

    template<typename CharT, typename AttributeValueT>
    class basic_formatter_factory : public boost::log::formatter_factory< CharT > {
    public:
      // types
      typedef AttributeValueT           value_type;      // Attribute value type.
      typedef base_type::formatter_type formatter_type;
      typedef base_type::args_map       args_map;

      // public member functions
      virtual formatter_type
      create_formatter(attribute_name const &, args_map const &);
    };

## Description

Base class for formatter factories. This class provides default implementation of formatter expressions for types supporting stream output. The factory does not take into account any additional parameters that may be specified.

### `basic_formatter_factory` public member functions

1.     virtual formatter_type
       create_formatter(attribute_name const & name, args_map const & args);

   The function creates a formatter for the specified attribute.

   Parameters:

   `name` | Attribute name
   `args` | Formatter arguments