#include <loggingStatistics.h>
List of all members.
Constructor & Destructor Documentation
Logging::loggingStatistics::loggingStatistics |
( |
|
) |
|
virtual Logging::loggingStatistics::~loggingStatistics |
( |
|
) |
[inline, virtual] |
Member Function Documentation
virtual void Logging::loggingStatistics::calculateLoggingStatistics |
( |
|
) |
[virtual] |
This method calculates the logging statistics
- Returns:
- void
virtual void Logging::loggingStatistics::configureStatistics |
( |
const std::string |
elementName, |
|
|
const bool |
state, |
|
|
const uint32_t |
period, |
|
|
const uint32_t |
granularity | |
|
) |
| | [virtual] |
This method allows the statistic module to be configured
- Parameters:
-
| elementName | String defining the name of the module the statistics belong to |
| state | Configuaration of disableStatistics attribute (to enable / diable statistics module) |
| period | Configuration of statisticsCalculationPeriod |
| granularity | Configuration of statisticsGranularity |
- Returns:
- void
uint32_t Logging::loggingStatistics::getAccumulatedNumberOfLogErrors |
( |
|
) |
|
uint32_t Logging::loggingStatistics::getAccumulatedNumberOfMessages |
( |
|
) |
|
bool Logging::loggingStatistics::getDisableStatistics |
( |
|
) |
|
uint32_t Logging::loggingStatistics::getLastPeriodNumberOfLogErrors |
( |
|
) |
|
uint32_t Logging::loggingStatistics::getLastPeriodNumberOfMessages |
( |
|
) |
|
uint64_t Logging::loggingStatistics::getLastStatisticsRepportTime |
( |
|
) |
|
uint32_t Logging::loggingStatistics::getStatisticsCalculationPeriod |
( |
|
) |
|
uint32_t Logging::loggingStatistics::getStatisticsGranularity |
( |
|
) |
|
std::string Logging::loggingStatistics::getStatisticsIdentification |
( |
|
) |
|
virtual void Logging::loggingStatistics::incrementNumberOfLogErrors |
( |
|
) |
[virtual] |
This method increments the stored number of logging errors detected
- Returns:
- void
virtual void Logging::loggingStatistics::incrementNumberOfMessages |
( |
|
) |
[virtual] |
This method increments the stored number of correctly transferred logs
- Returns:
- void
virtual void Logging::loggingStatistics::resetStatistics |
( |
|
) |
[virtual] |
This method makes a backup and resets the current statisctics values
- Returns:
- void
virtual void Logging::loggingStatistics::retrieveStatisticsLogs |
( |
std::list< std::string > & |
statisticsLogList, |
|
|
const std::string |
loggerId | |
|
) |
| | [virtual] |
This method retrieves the logging statistics
- Parameters:
-
| statisticsLogList | List of logs (strings) |
| loggerId | String to indintify the logger (normaly will consist on logger name + container name |
- Returns:
- void
void Logging::loggingStatistics::setAccumulatedNumberOfLogErrors |
( |
uint32_t |
value |
) |
|
void Logging::loggingStatistics::setAccumulatedNumberOfMessages |
( |
uint32_t |
value |
) |
|
void Logging::loggingStatistics::setLastPeriodNumberOfLogErrors |
( |
uint32_t |
value |
) |
|
void Logging::loggingStatistics::setLastPeriodNumberOfMessages |
( |
uint32_t |
value |
) |
|
void Logging::loggingStatistics::setLastStatisticsRepportTime |
( |
uint64_t |
value |
) |
|
void Logging::loggingStatistics::setStatisticsCalculationPeriod |
( |
uint32_t |
value |
) |
|
void Logging::loggingStatistics::setStatisticsGranularity |
( |
uint32_t |
value |
) |
|
Member Data Documentation
These constant members represent the default values of the statistics parametres.
The documentation for this class was generated from the following file: