Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
text_file_backend.hpp File Reference
#include <ios>
#include <string>
#include <ostream>
#include <boost/limits.hpp>
#include <boost/cstdint.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <boost/date_time/date_defs.hpp>
#include <boost/date_time/special_defs.hpp>
#include <boost/date_time/gregorian/greg_day.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/log/keywords/max_size.hpp>
#include <boost/log/keywords/min_free_space.hpp>
#include <boost/log/keywords/target.hpp>
#include <boost/log/keywords/file_name.hpp>
#include <boost/log/keywords/open_mode.hpp>
#include <boost/log/keywords/auto_flush.hpp>
#include <boost/log/keywords/rotation_size.hpp>
#include <boost/log/keywords/time_based_rotation.hpp>
#include <boost/log/detail/config.hpp>
#include <boost/log/detail/light_function.hpp>
#include <boost/log/detail/parameter_tools.hpp>
#include <boost/log/sinks/basic_sink_backend.hpp>
#include <boost/log/sinks/frontend_requirements.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for text_file_backend.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::sinks::file::collector
 Base class for file collectors. More...
 
class  boost::sinks::file::rotation_at_time_point
 The class represents the time point of log file rotation. More...
 
class  boost::sinks::file::rotation_at_time_interval
 The class represents the time interval of log file rotation. More...
 
class  boost::sinks::text_file_backend
 An implementation of a text file logging sink backend. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::sinks
 
 boost::sinks::file
 
 boost::sinks::file::aux
 

Enumerations

enum  boost::sinks::file::scan_method {
  boost::sinks::file::no_scan,
  boost::sinks::file::scan_matching,
  boost::sinks::file::scan_all
}
 The enumeration of the stored files scan methods. More...
 

Functions

BOOST_LOG_API shared_ptr
< collector > 
boost::sinks::file::aux::make_collector (filesystem::path const &target_dir, uintmax_t max_size, uintmax_t min_free_space)
 Creates and returns a file collector with the specified parameters. More...
 
template<typename ArgsT >
shared_ptr< collector > boost::sinks::file::aux::make_collector (ArgsT const &args)
 
template<typename T1 >
shared_ptr< collector > boost::sinks::file::make_collector (T1 const &a1)
 
template<typename T1 , typename T2 >
shared_ptr< collector > boost::sinks::file::make_collector (T1 const &a1, T2 const &a2)
 
template<typename T1 , typename T2 , typename T3 >
shared_ptr< collector > boost::sinks::file::make_collector (T1 const &a1, T2 const &a2, T3 const &a3)
 

Detailed Description

Author
Andrey Semashev
Date
09.06.2009

The header contains implementation of a text file sink backend.