summaryrefslogtreecommitdiffstats
path: root/phosphor-logging
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2017-07-25 00:04:20 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2017-07-25 13:51:31 +0530
commit7a33ee4087e5d3c60da7ebbd33a0bf95f3ad6824 (patch)
tree471782581200cc1b21250d47dee5f452e37a14a4 /phosphor-logging
parent213aaf6fe142710be85f3a01147ae91a89d305fd (diff)
downloadphosphor-logging-7a33ee4087e5d3c60da7ebbd33a0bf95f3ad6824.tar.gz
phosphor-logging-7a33ee4087e5d3c60da7ebbd33a0bf95f3ad6824.zip
Remove elog-errors-HostEvent.hpp from phosphor-logging repo
Resolves openbmc/phosphor-logging#4 Change-Id: I15ccdef0dd63216991bbd113e47beb057df14df8 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'phosphor-logging')
-rw-r--r--phosphor-logging/elog-errors-HostEvent.hpp76
1 files changed, 0 insertions, 76 deletions
diff --git a/phosphor-logging/elog-errors-HostEvent.hpp b/phosphor-logging/elog-errors-HostEvent.hpp
deleted file mode 100644
index 2bff981..0000000
--- a/phosphor-logging/elog-errors-HostEvent.hpp
+++ /dev/null
@@ -1,76 +0,0 @@
-// This file was autogenerated. Do not edit!
-// See elog-gen.py for more details
-#pragma once
-
-#include <map>
-#include <string>
-#include <tuple>
-#include <type_traits>
-#include <vector>
-#include <sdbusplus/exception.hpp>
-#include <phosphor-logging/log.hpp>
-
-namespace phosphor
-{
-
-namespace logging
-{
-
-std::map<std::string,std::vector<std::string>> g_errMetaMapHostEvent = {
- {"org.open_power.Error.Host.Event.Event",{"ESEL"}},
-};
-
-std::map<std::string,level> g_errLevelMapHostEvent = {
- {"org.open_power.Error.Host.Event.Event",level::ERR},
-};
-
-namespace org
-{
-namespace open_power
-{
-namespace Error
-{
-namespace Host
-{
-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 : public sdbusplus::exception_t
-{
- static constexpr auto errName = "org.open_power.Error.Host.Event.Event";
- static constexpr auto errDesc = "A host system event was received";
- static constexpr auto L = level::ERR;
- using ESEL = _Event::ESEL;
- using metadata_types = std::tuple<ESEL>;
- const char* name() const noexcept
- {
- return errName;
- }
-
- const char* description() const noexcept
- {
- return errDesc;
- }
-
- const char* what() const noexcept
- {
- return errName;
- }
-
-};
-} // namespace Host
-} // namespace Error
-} // namespace open_power
-} // namespace org
-} // namespace logging
-} // namespace phosphor
OpenPOWER on IntegriCloud