Andrew Geissler | 40cb653 | 2016-11-11 15:56:36 -0600 | [diff] [blame] | 1 | ## Note that this file is not auto generated, it is what generates the |
| 2 | ## elog-lookup.hpp file |
| 3 | // This file was autogenerated. Do not edit! |
| 4 | // See elog-gen.py for more details |
| 5 | #pragma once |
| 6 | |
| 7 | #include <map> |
| 8 | #include <vector> |
| 9 | |
| 10 | namespace phosphor |
| 11 | { |
| 12 | |
| 13 | namespace logging |
| 14 | { |
| 15 | |
| 16 | std::map<std::string,std::vector<std::string>> g_errMetaMap = { |
| 17 | % for a in errors: |
| 18 | <% meta_string = '\",\"'.join(meta[a]) %> \ |
| 19 | {"${errors[a]}",{"${meta_string}"}}, |
| 20 | % endfor |
| 21 | }; |
| 22 | |
| 23 | } // namespace logging |
| 24 | |
| 25 | } // namespace phosphor |