PEL: Use lg2 in Callouts class
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I0dc89e3047e5e735ea887081df4d7ca9df642042
diff --git a/extensions/openpower-pels/callouts.cpp b/extensions/openpower-pels/callouts.cpp
index 0cb1f7e..6867798 100644
--- a/extensions/openpower-pels/callouts.cpp
+++ b/extensions/openpower-pels/callouts.cpp
@@ -15,7 +15,7 @@
*/
#include "callouts.hpp"
-#include <phosphor-logging/log.hpp>
+#include <phosphor-logging/lg2.hpp>
#include <algorithm>
@@ -80,8 +80,7 @@
}
else
{
- using namespace phosphor::logging;
- log<level::INFO>("Dropping PEL callout because at max");
+ lg2::info("Dropping PEL callout because at max");
}
}