senf::log::SystemTimeSource Struct Reference

Default log message time source. More...

#include <senf/Utils/Logger/TimeSource.hh>

Inheritance diagram for senf::log::SystemTimeSource:

Public Member Functions

virtual time_type operator() () const
 
- Public Member Functions inherited from senf::log::TimeSource
virtual ~TimeSource ()
 

Additional Inherited Members

- Static Public Member Functions inherited from senf::log::TimeSource
static time_type now ()
 

Detailed Description

Default log message time source.

This time source is installed by default and uses gettimeofday() (via the Boost.DateTime library) to get the current universal time.

Definition at line 58 of file TimeSource.hh.

Member Function Documentation

◆ operator()()

senf::log::time_type senf::log::SystemTimeSource::operator() ( ) const
virtual

Implements senf::log::TimeSource.

Definition at line 36 of file TimeSource.cc.


The documentation for this struct was generated from the following files: