summaryrefslogtreecommitdiffstats
path: root/phosphor-logging
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-02-06 20:55:39 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-03-01 16:06:13 +0000
commitebd59fa425c2560fd302cfad7fcfe7f02e3bc3cd (patch)
tree0670865675761294decc9268179666ef3d0d2557 /phosphor-logging
parentfbe8872e810abd228f08d88d33729997fc1a3483 (diff)
downloadphosphor-logging-ebd59fa425c2560fd302cfad7fcfe7f02e3bc3cd.tar.gz
phosphor-logging-ebd59fa425c2560fd302cfad7fcfe7f02e3bc3cd.zip
Use configure option yaml path to generate elog-errors.hpp
Add a config variable that can be passed via a recipe to point the parser to a directory where the error yaml files are. Rename elog-gen.hpp to elog-errors.hpp, which better matches the exception error log file names. Include elog-gen.hpp in elog.hpp so that callers that need to create and commit error logs only need to include one header file. Change-Id: Ie3cd65ac761c1f7b2c99c50a2273859283a5ab4b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'phosphor-logging')
-rw-r--r--phosphor-logging/elog.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/phosphor-logging/elog.hpp b/phosphor-logging/elog.hpp
index 8a35ba5..fe79bdc 100644
--- a/phosphor-logging/elog.hpp
+++ b/phosphor-logging/elog.hpp
@@ -3,6 +3,7 @@
#include <tuple>
#include <utility>
#include <phosphor-logging/log.hpp>
+#include <phosphor-logging/elog-errors.hpp>
namespace phosphor
{
OpenPOWER on IntegriCloud