Updated Miscellaneous Journal Traces to lg2

Update the logging API used for files not in
phosphor-fan-presence/presence, phosphor-fan-presence/monitor,
or phosphor-fan-presence/control from the older phosphor::logging::log
to the more recent lg2::log.

Tested:
* Verified journal traces worked correctly in simulation and on
  physical hardware.
* Modified json config files to force parsing and sensor-monitor
  errors and verified correct output and key/value pairs in the
  journalctl output.

Change-Id: Ie68ac5733ecd20d5f17882020df861a975121f77
Signed-off-by: Anwaar Hadi <anwaar.hadi@ibm.com>
diff --git a/logger.hpp b/logger.hpp
index 77ad13a..bd40f55 100644
--- a/logger.hpp
+++ b/logger.hpp
@@ -5,7 +5,7 @@
 #include <unistd.h>
 
 #include <nlohmann/json.hpp>
-#include <phosphor-logging/log.hpp>
+#include <phosphor-logging/lg2.hpp>
 
 #include <cassert>
 #include <ctime>
@@ -76,13 +76,11 @@
     {
         if (priority == Logger::error)
         {
-            phosphor::logging::log<phosphor::logging::level::ERR>(
-                message.c_str());
+            lg2::error("{MSG}", "MSG", message);
         }
         else if (priority != Logger::quiet)
         {
-            phosphor::logging::log<phosphor::logging::level::INFO>(
-                message.c_str());
+            lg2::info("{MSG}", "MSG", message);
         }
 
         if (_entries.size() == _maxEntries)