Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sinks::file Namespace Reference

Namespaces

 aux
 

Classes

struct  collector
 Base class for file collectors. More...
 
class  file_name_composer_adapter
 An adapter class that allows to use regular formatters as file name generators. More...
 
class  rotation_at_time_interval
 The class represents the time interval of log file rotation. More...
 
class  rotation_at_time_point
 The class represents the time point of log file rotation. More...
 

Enumerations

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

Functions

template<typename T1 >
shared_ptr< collectormake_collector (T1 const &a1)
 
template<typename T1 , typename T2 >
shared_ptr< collectormake_collector (T1 const &a1, T2 const &a2)
 
template<typename T1 , typename T2 , typename T3 >
shared_ptr< collectormake_collector (T1 const &a1, T2 const &a2, T3 const &a3)
 
template<typename FormatterT >
file_name_composer_adapter
< FormatterT > 
as_file_name_composer (FormatterT const &fmt, std::locale const &loc=std::locale())
 The function adopts a log record formatter into a file name generator. More...
 

Enumeration Type Documentation

The enumeration of the stored files scan methods.

Enumerator
no_scan 

Don't scan for stored files.

scan_matching 

Scan for files with names matching the specified mask.

scan_all 

Scan for all files in the directory.

Function Documentation

template<typename FormatterT >
file_name_composer_adapter< FormatterT > boost::sinks::file::as_file_name_composer ( FormatterT const &  fmt,
std::locale const &  loc = std::locale() 
)
inline

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

template<typename T1 >
shared_ptr< collector > boost::sinks::file::make_collector ( T1 const &  a1)
inline
template<typename T1 , typename T2 >
shared_ptr< collector > boost::sinks::file::make_collector ( T1 const &  a1,
T2 const &  a2 
)
inline
template<typename T1 , typename T2 , typename T3 >
shared_ptr< collector > boost::sinks::file::make_collector ( T1 const &  a1,
T2 const &  a2,
T3 const &  a3 
)
inline