summaryrefslogtreecommitdiffstats
path: root/logging_test.cpp
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 /logging_test.cpp
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 'logging_test.cpp')
-rw-r--r--logging_test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/logging_test.cpp b/logging_test.cpp
index 63b59b7..96d2a36 100644
--- a/logging_test.cpp
+++ b/logging_test.cpp
@@ -5,7 +5,6 @@
#include <sstream>
#include <phosphor-logging/elog.hpp>
#include <phosphor-logging/log.hpp>
-#include "elog-gen.hpp"
using namespace phosphor;
using namespace logging;
OpenPOWER on IntegriCloud