blob: f2b9921d5e224a6f5c9a31cfe3ba22fa92d4bf97 [file] [log] [blame]
Matt Spinler8c686cc2019-09-20 13:46:02 -05001#pragma once
2
3#include "elog_entry.hpp"
4
5namespace openpower
6{
7namespace 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 */
17uint8_t convertOBMCSeverityToPEL(phosphor::logging::Entry::Level severity);
18
19} // namespace pels
20} // namespace openpower