@@ -40,16 +40,17 @@ using namespace std; // Required for isnan()
* \todo Remove reference to TTCN3.hh
*/
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
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
/*!
* \brief Default constructor
* Create a new instance of the loggers class
* \private
*/
explicitloggers():_times(){};
explicitloggers():_times(){};
inlinevoidlog_time_exec(constchar*p_fmt,...);
...
...
@@ -57,15 +58,15 @@ public: //! \publicsection
/*!
* \brief Default destructor
*/
virtual~loggers(){};
virtual~loggers(){};
/*!
* \fn static loggers& get_instance();
* \brief Accessor for the unique instance of the logger framework