boost::log::sources::basic_composite_logger<CharT, FinalT, single_thread_model, FeaturesT> — An optimized composite logger version with no multithreading support.
// In header: <boost/log/sources/basic_logger.hpp> template<typename CharT, typename FinalT, typename FeaturesT> class basic_composite_logger<CharT, FinalT, single_thread_model, FeaturesT> { public: // types typedef base_type::threading_model threading_model; typedef base_type::attribute_set_type attribute_set_type; typedef base_type::string_type string_type; typedef base_type::record_type record_type; // construct/copy/destruct basic_composite_logger& operator=(FinalT); // public member functions basic_composite_logger(); basic_composite_logger(basic_composite_logger const &); template<typename ArgsT> basic_composite_logger(ArgsT const &); std::pair< typename attribute_set_type::iterator, bool > add_attribute(string_type const &, shared_ptr< attribute > const &); void remove_attribute(typename attribute_set_type::iterator); void remove_all_attributes(); attribute_set_type get_attributes() const; void set_attributes(attribute_set_type const &); record_type open_record(); template<typename ArgsT> record_type open_record(ArgsT const &); void push_record(record_type const &); void swap(basic_composite_logger &); };
basic_composite_logger
public member functionsbasic_composite_logger();
basic_composite_logger(basic_composite_logger const & that);
template<typename ArgsT> basic_composite_logger(ArgsT const & args);
std::pair< typename attribute_set_type::iterator, bool > add_attribute(string_type const & name, shared_ptr< attribute > const & attr);
void remove_attribute(typename attribute_set_type::iterator it);
void remove_all_attributes();
attribute_set_type get_attributes() const;
void set_attributes(attribute_set_type const & attrs);
record_type open_record();
template<typename ArgsT> record_type open_record(ArgsT const & args);
void push_record(record_type const & record);
void swap(basic_composite_logger & that);