Log message time source abstract base class. More...
#include <senf/Utils/Logger/TimeSource.hh>
Public Member Functions | |
virtual | ~TimeSource () |
virtual time_type | operator() () const =0 |
Static Public Member Functions | |
static time_type | now () |
Log message time source abstract base class.
Instances derived from TimeSource provide the Logging library with the current date/time value. The operator()
member must be implemented to return the current universal time (UTC).
A new TimeSource may be installed using senf::log::timeSource().
Definition at line 43 of file TimeSource.hh.
|
virtual |
Definition at line 30 of file TimeSource.cc.
|
static |
|
pure virtual |
Implemented in senf::log::SystemTimeSource.