@@ -42,14 +42,15 @@ using namespace std; // Required for isnan()
classloggers{
private://! \privatesection
staticstd::unique_ptr<loggers>_instance;//! Smart pointer to the unique instance of the logger framework
std::map<std::string,std::clock_t>_times;//! Timer used to measure execution time between calls to methods \loggers::set_start_time and \loggers::set_stop_time
std::map<std::string,std::clock_t>
_times;//! Timer used to measure execution time between calls to methods \loggers::set_start_time and \loggers::set_stop_time
/*!
* \brief Default constructor
* Create a new instance of the loggers class
* \private
*/
explicitloggers():_times(){};
explicitloggers():_times(){};
inlinevoidlog_time_exec(constchar*p_fmt,...);
...
...
@@ -57,14 +58,14 @@ public: //! \publicsection
/*!
* \brief Default destructor
*/
virtual~loggers(){};
virtual~loggers(){};
/*!
* \fn static loggers& get_instance();
* \brief Accessor for the unique instance of the logger framework