Boost C++ Libraries

PrevUpHomeNext

Function template parse_formatter

boost::log::parse_formatter

Synopsis

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


template<typename CharT> 
  basic_formatter< CharT > parse_formatter(const CharT * str);

Description

The function parses a formatter from the string

Throws: An std::exception-based exception, if a formatter cannot be recognized in the character sequence.

Parameters:

str

A string that contains format description.

Requires:

str != NULL, str points to a zero-terminated string

Returns:

The parsed formatter.


PrevUpHomeNext