xref: /openbmc/phosphor-logging/callouts/callouts-gen.hpp.mako (revision b60359105f0b08d53530e8e313d8ea12968977dc)
1*b6035910SMatt Spinler## Note that this file is not auto generated, it is what generates the
2*b6035910SMatt Spinler## callouts-gen.hpp file
3*b6035910SMatt Spinler// This file was autogenerated.  Do not edit!
4*b6035910SMatt Spinler// See callouts-gen.py for more details
5*b6035910SMatt Spinler#pragma once
6*b6035910SMatt Spinler
7*b6035910SMatt Spinler#include <string>
8*b6035910SMatt Spinler#include <tuple>
9*b6035910SMatt Spinler
10*b6035910SMatt Spinlernamespace phosphor
11*b6035910SMatt Spinler{
12*b6035910SMatt Spinlernamespace logging
13*b6035910SMatt Spinler{
14*b6035910SMatt Spinler
15*b6035910SMatt Spinlerconstexpr auto callouts =
16*b6035910SMatt Spinler{
17*b6035910SMatt Spinler% for key, value in sorted(calloutsMap.items()):
18*b6035910SMatt Spinler    std::make_tuple("${key}", "${value}"),
19*b6035910SMatt Spinler% endfor
20*b6035910SMatt Spinler};
21*b6035910SMatt Spinler
22*b6035910SMatt Spinler} // namespace logging
23*b6035910SMatt Spinler} // namespace phosphor
24