Matt Spinler | 8c686cc | 2019-09-20 13:46:02 -0500 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "elog_entry.hpp" | ||||
4 | |||||
5 | namespace openpower | ||||
6 | { | ||||
7 | namespace pels | ||||
8 | { | ||||
9 | |||||
10 | /** | ||||
11 | * @brief Convert an OpenBMC event log severity to a PEL severity | ||||
12 | * | ||||
13 | * @param[in] severity - The OpenBMC event log severity | ||||
14 | * | ||||
15 | * @return uint8_t - The PEL severity value | ||||
16 | */ | ||||
17 | uint8_t convertOBMCSeverityToPEL(phosphor::logging::Entry::Level severity); | ||||
18 | |||||
19 | } // namespace pels | ||||
20 | } // namespace openpower |