A helper class for tracking and logging numerical values across a period of time.
More...
#include <src/logging.h>
|
|
void | collect_and_log (const T &value) |
| |
|
void | collect_and_log (std::function< T()> func) |
| |
|
bool | is_enabled () const |
| |
|
| min_max_avg_periodic_logger (boost::log::sources::severity_logger< int > &severity, std::string_view message, std::string_view units, std::chrono::seconds interval_in_seconds=std::chrono::seconds(20)) |
| |
|
void | reset () |
| |
template<typename T>
class logging::min_max_avg_periodic_logger< T >
A helper class for tracking and logging numerical values across a period of time.
Examples
logger.collect_and_log(1);
logger.collect_and_log(2);
logger.collect_and_log(3);
A helper class for tracking and logging numerical values across a period of time.
Definition logging.h:102
The documentation for this class was generated from the following file: