Boost C++ Libraries

PrevUpHomeNext

Struct basic_time_traits

boost::log::attributes::basic_time_traits — Base class for time traits involving Boost.DateTime.

Synopsis

// In header: <boost/log/attributes/time_traits.hpp>


struct basic_time_traits {
  // types
  typedef posix_time::ptime        time_type;     // Time type. 
  typedef posix_time::second_clock clock_source;  // Current time source. 
};

PrevUpHomeNext