Boost C++ Libraries

PrevUpHomeNext

Function template init_log_to_file

boost::log::init_log_to_file

Synopsis

// In header: <boost/log/utility/init/to_file.hpp>


template<typename... ArgsT> 
  shared_ptr< sinks::synchronous_sink< sinks::text_file_backend >> 
  init_log_to_file(ArgsT...const & args);

Description

Equivalent to init_log_to_file< char >(args...);

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.


PrevUpHomeNext