Shantappa Teekappanavar | 222131c | 2021-06-02 10:52:56 -0500 | [diff] [blame^] | 1 | // This file was autogenerated. Do not edit! |
| 2 | // See elog-gen.py for more details |
| 3 | #pragma once |
| 4 | |
| 5 | #include <phosphor-logging/elog.hpp> |
| 6 | #include <phosphor-logging/log.hpp> |
| 7 | #include <sdbusplus/exception.hpp> |
| 8 | |
| 9 | #include <string> |
| 10 | #include <tuple> |
| 11 | #include <type_traits> |
| 12 | |
| 13 | namespace sdbusplus |
| 14 | { |
| 15 | namespace org |
| 16 | { |
| 17 | namespace open_power |
| 18 | { |
| 19 | namespace Host |
| 20 | { |
| 21 | namespace Boot |
| 22 | { |
| 23 | namespace Error |
| 24 | { |
| 25 | struct WatchdogTimedOut; |
| 26 | } // namespace Error |
| 27 | } // namespace Boot |
| 28 | } // namespace Host |
| 29 | } // namespace open_power |
| 30 | } // namespace org |
| 31 | } // namespace sdbusplus |
| 32 | |
| 33 | namespace sdbusplus |
| 34 | { |
| 35 | namespace org |
| 36 | { |
| 37 | namespace open_power |
| 38 | { |
| 39 | namespace Host |
| 40 | { |
| 41 | namespace Boot |
| 42 | { |
| 43 | namespace Error |
| 44 | { |
| 45 | struct Checkstop; |
| 46 | } // namespace Error |
| 47 | } // namespace Boot |
| 48 | } // namespace Host |
| 49 | } // namespace open_power |
| 50 | } // namespace org |
| 51 | } // namespace sdbusplus |
| 52 | |
| 53 | namespace phosphor |
| 54 | { |
| 55 | |
| 56 | namespace logging |
| 57 | { |
| 58 | |
| 59 | namespace org |
| 60 | { |
| 61 | namespace open_power |
| 62 | { |
| 63 | namespace Host |
| 64 | { |
| 65 | namespace Boot |
| 66 | { |
| 67 | namespace _Checkstop |
| 68 | {} // namespace _Checkstop |
| 69 | |
| 70 | struct Checkstop |
| 71 | { |
| 72 | static constexpr auto L = level::ERR; |
| 73 | using metadata_types = std::tuple<>; |
| 74 | }; |
| 75 | |
| 76 | } // namespace Boot |
| 77 | } // namespace Host |
| 78 | } // namespace open_power |
| 79 | } // namespace org |
| 80 | |
| 81 | namespace details |
| 82 | { |
| 83 | |
| 84 | template <> |
| 85 | struct map_exception_type< |
| 86 | sdbusplus::org::open_power::Host::Boot::Error::Checkstop> |
| 87 | { |
| 88 | using type = org::open_power::Host::Boot::Checkstop; |
| 89 | }; |
| 90 | |
| 91 | } // namespace details |
| 92 | |
| 93 | namespace org |
| 94 | { |
| 95 | namespace open_power |
| 96 | { |
| 97 | namespace Host |
| 98 | { |
| 99 | namespace Boot |
| 100 | { |
| 101 | namespace _WatchdogTimedOut |
| 102 | {} // namespace _WatchdogTimedOut |
| 103 | |
| 104 | struct WatchdogTimedOut |
| 105 | { |
| 106 | static constexpr auto L = level::ERR; |
| 107 | using metadata_types = std::tuple<>; |
| 108 | }; |
| 109 | |
| 110 | } // namespace Boot |
| 111 | } // namespace Host |
| 112 | } // namespace open_power |
| 113 | } // namespace org |
| 114 | |
| 115 | namespace details |
| 116 | { |
| 117 | |
| 118 | template <> |
| 119 | struct map_exception_type< |
| 120 | sdbusplus::org::open_power::Host::Boot::Error::WatchdogTimedOut> |
| 121 | { |
| 122 | using type = org::open_power::Host::Boot::WatchdogTimedOut; |
| 123 | }; |
| 124 | |
| 125 | } // namespace details |
| 126 | |
| 127 | } // namespace logging |
| 128 | |
| 129 | } // namespace phosphor |