Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template as_file_name_composer

boost::log::sinks::file::as_file_name_composer

Synopsis

// In header: <boost/log/sinks/text_multifile_backend.hpp>


template<typename FormatterT> 
  file_name_composer_adapter< FormatterT > 
  as_file_name_composer(FormatterT const & fmt, 
                        std::locale const & loc = std::locale());

Description

The function adopts a log record formatter into a file name generator

Parameters:

fmt

The formatter function object to adopt

loc

The locale to use to character code conversion and formatting


PrevUpHomeNext