Move power-supply and power-sequencer to lg2

Update the logging API for files in power-supply and
power-sequencer from the older phosphor::logging::log style of
journal traces to the newer lg2::log style.

Tested:
* Verified commit passed CI unit tests.
* Verified commit built using bitbake.

Change-Id: I4436b5a422ff4cb64bedcd357f632b99837627d4
Signed-off-by: Anwaar Hadi <anwaar.hadi@ibm.com>
diff --git a/power-sequencer/runtime_monitor.cpp b/power-sequencer/runtime_monitor.cpp
index 487a2a6..7fa8665 100644
--- a/power-sequencer/runtime_monitor.cpp
+++ b/power-sequencer/runtime_monitor.cpp
@@ -21,7 +21,7 @@
 #include "utility.hpp"
 
 #include <org/open_power/Witherspoon/Fault/error.hpp>
-#include <phosphor-logging/log.hpp>
+#include <phosphor-logging/lg2.hpp>
 
 namespace phosphor
 {
@@ -42,7 +42,7 @@
 
 void RuntimeMonitor::onPowerLost(sdbusplus::message_t&)
 {
-    log<level::INFO>("PGOOD failure detected.  Checking for faults.");
+    lg2::info("PGOOD failure detected.  Checking for faults.");
 
     try
     {
@@ -60,7 +60,9 @@
     catch (const std::exception& e)
     {
         // No need to crash
-        log<level::ERR>(e.what());
+        lg2::error(
+            "Exception occurred while checking for PGOOD faults in onPowerLost: {ERROR}",
+            "ERROR", e);
     }
 }