Revert "PEL: Create trace wrapper for peltool"
This reverts commit 2ea96f6c6c92bb585668cff7c659cdea606dfc68.
Going to go in a different direction and not build peltool in other
contexts.
Change-Id: I92fefbb3fe5249f2cc0ccf679febe5a3b3340048
diff --git a/extensions/openpower-pels/callouts.cpp b/extensions/openpower-pels/callouts.cpp
index 0185fc2..7482aca 100644
--- a/extensions/openpower-pels/callouts.cpp
+++ b/extensions/openpower-pels/callouts.cpp
@@ -15,10 +15,9 @@
*/
#include "callouts.hpp"
-#include "trace.hpp"
-
#include <algorithm>
#include <map>
+#include <phosphor-logging/log.hpp>
namespace openpower
{
@@ -61,7 +60,8 @@
}
else
{
- trace::info("Dropping PEL callout because at max");
+ using namespace phosphor::logging;
+ log<level::INFO>("Dropping PEL callout because at max");
}
// Mapping including the 3 Medium levels as A,B and C