Boost C++ Libraries

PrevUpHomeNext

Function template char_dec

boost::log::formatters::char_dec

Synopsis

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


template<typename RangeT> 
  implementation_defined char_dec(RangeT const & decorations);

Description

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

Parameters:
decorations

A sequence of string pairs that will be used as decorations. Every decorations[i].first substring occurrence in the output will be replaced with decorations[i].second.


PrevUpHomeNext