![]() |
boost::log::formatters::fmt_c_ascii_decorator
// In header: <boost/log/formatters/c_decorator.hpp> template<typename FormatterT> class fmt_c_ascii_decorator : public basic_formatter< FormatterT::char_type, fmt_c_ascii_decorator< FormatterT > > { public: // types typedef base_type::char_type char_type; // Character type. typedef FormatterT formatter_type; // Decorated formatter type. typedef base_type::string_type string_type; // String type. typedef base_type::ostream_type ostream_type; // Stream type. typedef base_type::record_type record_type; // Log record type. // construct/copy/destruct explicit fmt_c_ascii_decorator(formatter_type const &); fmt_c_ascii_decorator(fmt_c_ascii_decorator const &); fmt_c_ascii_decorator& operator=(fmt_c_ascii_decorator const &); // public member functions void operator()(ostream_type &, record_type const &) const; };
fmt_c_ascii_decorator
public member functionsvoid operator()(ostream_type & strm, record_type const & record) const;
Formatting operator. Invokes the decorated formatter, then sequentially applies all decorations to the output. The resulting string is the output of the decorator.
Parameters: |
|