Boost C++ Libraries

PrevUpHomeNext

Function template if_

boost::log::formatters::if_

Synopsis

// In header: <boost/log/formatters/if.hpp>


template<typename FilterT> implementation_defined if_(FilterT const & flt);

Description

The function returns a conditional formatter generator object. The generator provides operator[] that can be used to construct the actual formatter.

Parameters:
flt

A Boost.Log filter that represents condition of the formatter


PrevUpHomeNext