summaryrefslogtreecommitdiffstats
path: root/src/templates/elog_with_metadata.mako.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/elog_with_metadata.mako.cpp')
-rw-r--r--src/templates/elog_with_metadata.mako.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/templates/elog_with_metadata.mako.cpp b/src/templates/elog_with_metadata.mako.cpp
new file mode 100644
index 0000000..a26aa2c
--- /dev/null
+++ b/src/templates/elog_with_metadata.mako.cpp
@@ -0,0 +1,5 @@
+std::make_unique<ElogWithMetadataCapture<
+${indent(1)}sdbusplus::${c.error},
+${indent(1)}phosphor::logging::${c.metadata},
+${indent(1)}${c.datatype}>>(
+${indent(1)}ConfigPropertyIndicies::get()[${c.instances}])\
OpenPOWER on IntegriCloud