blob: 6eb9e21a4bd18a908d972b35bd89869f33b50080 [file] [log] [blame]
// This file was autogenerated. Do not edit!
// See elog-gen.py for more details
#pragma once
#include <string>
#include <tuple>
#include <type_traits>
#include <sdbusplus/exception.hpp>
#include <phosphor-logging/log.hpp>
#include <phosphor-logging/elog.hpp>
namespace sdbusplus
{
namespace org
{
namespace open_power
{
namespace OCC
{
namespace Metrics
{
namespace Error
{
struct Event;
} // namespace Error
} // namespace Metrics
} // namespace OCC
} // namespace open_power
} // namespace org
} // namespace sdbusplus
namespace phosphor
{
namespace logging
{
namespace org
{
namespace open_power
{
namespace OCC
{
namespace Metrics
{
namespace _Event
{
struct ESEL
{
static constexpr auto str = "ESEL=%s";
static constexpr auto str_short = "ESEL";
using type = std::tuple<std::decay_t<decltype(str)>,const char*>;
explicit constexpr ESEL(const char* a) : _entry(entry(str, a)) {};
type _entry;
};
} // namespace _Event
struct Event
{
static constexpr auto L = level::INFO;
using ESEL = _Event::ESEL;
using metadata_types = std::tuple<ESEL>;
};
} // namespace Metrics
} // namespace OCC
} // namespace open_power
} // namespace org
namespace details
{
template <>
struct map_exception_type<sdbusplus::org::open_power::OCC::Metrics::Error::Event>
{
using type = org::open_power::OCC::Metrics::Event;
};
}
} // namespace logging
} // namespace phosphor