boost::log::formatters::is_formatter — A type trait to detect formatters.
// In header: <boost/log/formatters/basic_formatters.hpp> template<typename T> struct is_formatter { };
The is_formatter
class is a metafunction that returns true
if it is instantiated with a formatter type and false
otherwise.