summaryrefslogtreecommitdiffstats
path: root/tools/phosphor-logging/templates/elog-lookup-template.mako.cpp
blob: a96760e4aeb1c156b87d1c999935fb58eb9973b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Note that this file is not auto generated, it is what generates the
## elog-lookup.hpp file
// This file was autogenerated.  Do not edit!
// See elog-gen.py for more details
#pragma once

#include <map>
#include <vector>

namespace phosphor
{

namespace logging
{

std::map<std::string,std::vector<std::string>> g_errMetaMap = {
    % for a in errors:
    <% meta_string = '\",\"'.join(meta[a]) %> \
    {"${errors[a]}",{"${meta_string}"}},
    % endfor
};

} // namespace logging

} // namespace phosphor
OpenPOWER on IntegriCloud