blob: 7cf7a376d9c46b12ca87d7fedff484c14c0e7564 [file] [log] [blame]
// This file was autogenerated. Do not edit!
// See elog-gen.py for more details
#pragma once
#include <phosphor-logging/elog.hpp>
#include <phosphor-logging/log.hpp>
#include <sdbusplus/exception.hpp>
#include <string>
#include <tuple>
#include <type_traits>
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 details
} // namespace logging
} // namespace phosphor