diff options
author | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-06-25 23:28:58 -0500 |
---|---|---|
committer | Nagaraju Goruganti <ngorugan@in.ibm.com> | 2018-08-08 04:53:31 -0500 |
commit | 477b731ad0fd8c116ffcaa8265a508c9fb112479 (patch) | |
tree | 6616e76e480d46a0a0f4e1f5d883f9882f16aae9 /log_manager.hpp | |
parent | 80aa4762f78f1044d15c918d72316aa388ba0a02 (diff) | |
download | phosphor-logging-477b731ad0fd8c116ffcaa8265a508c9fb112479.tar.gz phosphor-logging-477b731ad0fd8c116ffcaa8265a508c9fb112479.zip |
Add unit tests for the phosphor-logging server
-Add unit tests for error wrapping
Change-Id: Ib15620d84de8ab5abdc85b8f88dd7c05f83fd6f3
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Diffstat (limited to 'log_manager.hpp')
-rw-r--r-- | log_manager.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/log_manager.hpp b/log_manager.hpp index d5ca4e9..3da450d 100644 --- a/log_manager.hpp +++ b/log_manager.hpp @@ -108,6 +108,18 @@ class Manager : public details::ServerObject<details::ManagerIface> } } + /** @brief Returns the count of high severity errors + * + * @return int - count of real errors + */ + int getRealErrSize(); + + /** @brief Returns the count of Info errors + * + * @return int - count of info errors + */ + int getInfoErrSize(); + private: /* * @fn _commit() |